Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.002036/0.002036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.675/1.675, allocations: 252 MB / 0.5102 GB, free: 4.785 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.0005288/0.000529, allocations: 12 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.5995, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003711/0.6033, allocations: 2.778 MB / 0.7308 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.6053, allocations: 1.287 MB / 0.7321 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.6054, allocations: 4 kB / 0.7321 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.6056, allocations: 43.64 kB / 0.7321 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.606, allocations: 111.4 kB / 0.7322 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.6064, allocations: 107.8 kB / 0.7324 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.6068, allocations: 378.7 kB / 0.7327 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.6071, allocations: 223.2 kB / 0.7329 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.6073, allocations: 111.5 kB / 0.733 GB, free: 6.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.6075, allocations: 135.5 kB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.6076, allocations: 12 kB / 0.7332 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.6078, allocations: 79.88 kB / 0.7332 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.6079, allocations: 75.78 kB / 0.7333 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.6079, allocations: 69.58 kB / 0.7334 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.6082, allocations: 261.3 kB / 0.7336 GB, free: 5.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6082, allocations: 3.938 kB / 0.7336 GB, free: 5.711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6082, allocations: 0 / 0.7336 GB, free: 5.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.6082, allocations: 0 / 0.7336 GB, free: 5.711 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007807/0.609, allocations: 0.4989 MB / 0.7341 GB, free: 5.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6091, allocations: 12.03 kB / 0.7341 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.6096, allocations: 91.58 kB / 0.7342 GB, free: 5.059 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.6099, allocations: 246.6 kB / 0.7345 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.61, allocations: 12.44 kB / 0.7345 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.61, allocations: 19.94 kB / 0.7345 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.6105, allocations: 324.3 kB / 0.7348 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6105, allocations: 4 kB / 0.7348 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.6106, allocations: 4 kB / 0.7348 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.6106, allocations: 24.39 kB / 0.7348 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003488/0.611, allocations: 209.5 kB / 0.735 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.6125, allocations: 1.498 MB / 0.7365 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.6129, allocations: 207.6 kB / 0.7367 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.613, allocations: 52.83 kB / 0.7367 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.613, allocations: 3.984 kB / 0.7367 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.613, allocations: 34.56 kB / 0.7368 GB, free: 2.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.6131, allocations: 0 / 0.7368 GB, free: 2.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.6136, allocations: 275.3 kB / 0.737 GB, free: 1.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.6137, allocations: 51.41 kB / 0.7371 GB, free: 1.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.6139, allocations: 203.8 kB / 0.7373 GB, free: 1.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.6139, allocations: 25.7 kB / 0.7373 GB, free: 1.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.614, allocations: 175.6 kB / 0.7375 GB, free: 1.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.6141, allocations: 27.64 kB / 0.7375 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.6141, allocations: 4 kB / 0.7375 GB, free: 1.367 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6142, allocations: 330.8 kB / 0.7378 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.6143, allocations: 47.97 kB / 0.7379 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.6145, allocations: 104.6 kB / 0.738 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.6146, allocations: 67.91 kB / 0.738 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6146, allocations: 3.953 kB / 0.738 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003671/0.615, allocations: 218 kB / 0.7382 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.615, allocations: 8 kB / 0.7383 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.615, allocations: 0 / 0.7383 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.6152, allocations: 29.12 kB / 0.7383 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.6154, allocations: 39.91 kB / 0.7383 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.6165, allocations: 1.331 MB / 0.7396 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.6166, allocations: 19.84 kB / 0.7396 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.6166, allocations: 4 kB / 0.7396 GB, free: 15 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.6168, allocations: 149.7 kB / 0.7398 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.6168, allocations: 23.75 kB / 0.7398 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.6169, allocations: 21.39 kB / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6169, allocations: 96 / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6169, allocations: 4 kB / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6169, allocations: 0 / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.6175, allocations: 487.1 kB / 0.7403 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6175, allocations: 7.984 kB / 0.7403 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.6176, allocations: 11.94 kB / 0.7403 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.6177, allocations: 28.84 kB / 0.7403 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.6177, allocations: 0 / 0.7403 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009214/0.6186, allocations: 1.327 MB / 0.7416 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6186, allocations: 0 / 0.7416 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.6189, allocations: 236.2 kB / 0.7419 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.6191, allocations: 100.9 kB / 0.742 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.6191, allocations: 12.03 kB / 0.742 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.6192, allocations: 8 kB / 0.742 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.6192, allocations: 7.984 kB / 0.742 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.6193, allocations: 7.938 kB / 0.742 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001229/0.6194, allocations: 140.2 kB / 0.7421 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6194, allocations: 4 kB / 0.7421 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003282/0.6197, allocations: 55.84 kB / 0.7422 GB, free: 12.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.6199, allocations: 99.25 kB / 0.7423 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.6203, allocations: 234.5 kB / 0.7425 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6203, allocations: 0.5625 kB / 0.7425 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.6205, allocations: 158.7 kB / 0.7427 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.6209, allocations: 43.23 kB / 0.7427 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.6216, allocations: 490.5 kB / 0.7432 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.622, allocations: 0.7593 MB / 0.7439 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.6221, allocations: 30.23 kB / 0.7439 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.6222, allocations: 15.44 kB / 0.7439 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6222, allocations: 0 / 0.7439 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.004765/0.6269, allocations: 1.766 MB / 0.7457 GB, free: 8.512 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: