Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 194.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 251.6 MB / 0.5088 GB, free: 3.383 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.92 kB / 0.6216 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7097, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005402/0.7152, allocations: 2.5 MB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.7182, allocations: 1.462 MB / 0.7277 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.7185, allocations: 7.938 kB / 0.7277 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008362/0.7194, allocations: 170.6 kB / 0.7279 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.7199, allocations: 123.5 kB / 0.728 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.7206, allocations: 167.6 kB / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.721, allocations: 311.2 kB / 0.7284 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.7213, allocations: 123 kB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.7215, allocations: 79.64 kB / 0.7286 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.7218, allocations: 111.6 kB / 0.7287 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.7218, allocations: 12 kB / 0.7287 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.7222, allocations: 215.6 kB / 0.7289 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.7223, allocations: 55.88 kB / 0.729 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.7224, allocations: 83.58 kB / 0.7291 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.7229, allocations: 283.1 kB / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7229, allocations: 0 / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7229, allocations: 0 / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.7229, allocations: 0 / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008597/0.7238, allocations: 487 kB / 0.7298 GB, free: 6.934 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7238, allocations: 12.03 kB / 0.7298 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005364/0.7243, allocations: 60.59 kB / 0.7299 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.7246, allocations: 228 kB / 0.7301 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.7247, allocations: 8.656 kB / 0.7301 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.7247, allocations: 16.36 kB / 0.7301 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.7252, allocations: 279.6 kB / 0.7304 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.7252, allocations: 0 / 0.7304 GB, free: 6.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.7252, allocations: 8 kB / 0.7304 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.7253, allocations: 16.22 kB / 0.7304 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.7256, allocations: 208.5 kB / 0.7306 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.7274, allocations: 1.58 MB / 0.7322 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.7278, allocations: 327.2 kB / 0.7325 GB, free: 3.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.612e-05/0.7279, allocations: 61.69 kB / 0.7325 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.728, allocations: 4.141 kB / 0.7325 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.728, allocations: 46.66 kB / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.816e-06/0.728, allocations: 0 / 0.7326 GB, free: 3.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005847/0.7286, allocations: 240.5 kB / 0.7328 GB, free: 3.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.7287, allocations: 93.22 kB / 0.7329 GB, free: 3.477 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.7289, allocations: 195.4 kB / 0.7331 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.7289, allocations: 25.7 kB / 0.7331 GB, free: 3.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.729, allocations: 155.6 kB / 0.7333 GB, free: 3.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.729, allocations: 39.53 kB / 0.7333 GB, free: 3.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.7291, allocations: 49.59 kB / 0.7333 GB, free: 2.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7293, allocations: 326.8 kB / 0.7336 GB, free: 2.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.7294, allocations: 76.81 kB / 0.7337 GB, free: 2.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.7296, allocations: 147.1 kB / 0.7339 GB, free: 2.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.7299, allocations: 230.9 kB / 0.7341 GB, free: 2.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7299, allocations: 0 / 0.7341 GB, free: 2.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003868/0.7303, allocations: 261.4 kB / 0.7343 GB, free: 1.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.7303, allocations: 8 kB / 0.7343 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.7303, allocations: 4 kB / 0.7343 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.7303, allocations: 11.88 kB / 0.7344 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.7306, allocations: 51.91 kB / 0.7344 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7306, allocations: 7.984 kB / 0.7344 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.7307, allocations: 19.89 kB / 0.7344 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.7308, allocations: 8 kB / 0.7344 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001692/0.7309, allocations: 160.1 kB / 0.7346 GB, free: 1.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001465/0.7311, allocations: 150.7 kB / 0.7347 GB, free: 1.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002555/0.7314, allocations: 215.8 kB / 0.7349 GB, free: 1.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.7314, allocations: 0 / 0.7349 GB, free: 1.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003517/0.7317, allocations: 241.4 kB / 0.7352 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.7318, allocations: 9.875 kB / 0.7352 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7318, allocations: 4 kB / 0.7352 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.7318, allocations: 4 kB / 0.7352 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.7319, allocations: 51.91 kB / 0.7352 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7319, allocations: 8.406 kB / 0.7352 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.7321, allocations: 27.77 kB / 0.7353 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.7321, allocations: 12 kB / 0.7353 GB, free: 0.8125 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.7322, allocations: 188.4 kB / 0.7355 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.7323, allocations: 15.91 kB / 0.7355 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.7326, allocations: 142.9 kB / 0.7356 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7326, allocations: 7.938 kB / 0.7356 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7326, allocations: 0 / 0.7356 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7326, allocations: 0 / 0.7356 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.7336, allocations: 0.7234 MB / 0.7363 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7336, allocations: 4 kB / 0.7363 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.7337, allocations: 23.92 kB / 0.7364 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.7338, allocations: 4.344 kB / 0.7364 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.7338, allocations: 12 kB / 0.7364 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.7338, allocations: 7.984 kB / 0.7364 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.7338, allocations: 7.938 kB / 0.7364 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.7341, allocations: 382.3 kB / 0.7367 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.7342, allocations: 104.9 kB / 0.7368 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.7343, allocations: 11.98 kB / 0.7369 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.7344, allocations: 8 kB / 0.7369 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.7345, allocations: 19.92 kB / 0.7369 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.7345, allocations: 4 kB / 0.7369 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001415/0.7346, allocations: 148.9 kB / 0.737 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7347, allocations: 0 / 0.737 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005079/0.7352, allocations: 72 kB / 0.7371 GB, free: 14.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.7353, allocations: 107.2 kB / 0.7372 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004207/0.7358, allocations: 263.6 kB / 0.7375 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7358, allocations: 1.562 kB / 0.7375 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.7359, allocations: 72.39 kB / 0.7375 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.7364, allocations: 28.55 kB / 0.7376 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.7372, allocations: 489.8 kB / 0.738 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.7376, allocations: 0.7285 MB / 0.7387 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.7378, allocations: 73.5 kB / 0.7388 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.7379, allocations: 27.42 kB / 0.7388 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7379, allocations: 0 / 0.7388 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.005099/0.743, allocations: 1.68 MB / 0.7405 GB, free: 11.27 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)