Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001216/0.001216, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.001183/0.001183, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6792/0.6792, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 65.75 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1197, allocations: 76.18 MB / 0.6321 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004425/0.1242, allocations: 3.184 MB / 0.6352 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1263, allocations: 1.383 MB / 0.6365 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1264, allocations: 11.94 kB / 0.6365 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.1274, allocations: 322.7 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.1277, allocations: 155.2 kB / 0.637 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1281, allocations: 147.6 kB / 0.6371 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.1285, allocations: 322.9 kB / 0.6374 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/0.1289, allocations: 267.5 kB / 0.6377 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1291, allocations: 139.5 kB / 0.6378 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1294, allocations: 155.4 kB / 0.638 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.1295, allocations: 16 kB / 0.638 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1298, allocations: 163.7 kB / 0.6381 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.1299, allocations: 83.8 kB / 0.6382 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.13, allocations: 127.3 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.1304, allocations: 350.9 kB / 0.6387 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1304, allocations: 0 / 0.6387 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1304, allocations: 0 / 0.6387 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1304, allocations: 8 kB / 0.6387 GB, free: 13.61 MB / 494.1 MB 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.0007956/0.1312, allocations: 0.538 MB / 0.6392 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1313, allocations: 15.91 kB / 0.6392 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/0.1318, allocations: 80.48 kB / 0.6393 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.1321, allocations: 259.8 kB / 0.6395 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1322, allocations: 16.81 kB / 0.6396 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.1322, allocations: 20.36 kB / 0.6396 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.1327, allocations: 308.6 kB / 0.6399 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1327, allocations: 11.94 kB / 0.6399 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.1327, allocations: 8 kB / 0.6399 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.1328, allocations: 20.42 kB / 0.6399 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.1331, allocations: 209.6 kB / 0.6401 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.1346, allocations: 1.482 MB / 0.6416 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.135, allocations: 215.6 kB / 0.6418 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.675e-05/0.1351, allocations: 44.83 kB / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.1351, allocations: 0 / 0.6418 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1351, allocations: 34.56 kB / 0.6418 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.1351, allocations: 0 / 0.6418 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005267/0.1357, allocations: 259.3 kB / 0.6421 GB, free: 9.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1357, allocations: 51.41 kB / 0.6421 GB, free: 9.715 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1359, allocations: 211.7 kB / 0.6423 GB, free: 9.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.136, allocations: 25.7 kB / 0.6424 GB, free: 9.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1361, allocations: 179.6 kB / 0.6425 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1361, allocations: 35.55 kB / 0.6426 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.1362, allocations: 37.7 kB / 0.6426 GB, free: 9.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1363, allocations: 326.8 kB / 0.6429 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1364, allocations: 43.97 kB / 0.643 GB, free: 8.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1365, allocations: 120.5 kB / 0.6431 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.1368, allocations: 168.4 kB / 0.6432 GB, free: 8.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1368, allocations: 0 / 0.6432 GB, free: 8.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003591/0.1372, allocations: 214.2 kB / 0.6434 GB, free: 8.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1372, allocations: 4 kB / 0.6434 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1372, allocations: 4 kB / 0.6434 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.1374, allocations: 25 kB / 0.6435 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1375, allocations: 47.78 kB / 0.6435 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.1386, allocations: 1.425 MB / 0.6449 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1388, allocations: 23.86 kB / 0.6449 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1388, allocations: 8.156 kB / 0.6449 GB, free: 6.59 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.1389, allocations: 153.7 kB / 0.6451 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.139, allocations: 15.81 kB / 0.6451 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.139, allocations: 21.39 kB / 0.6451 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.139, allocations: 0 / 0.6451 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.139, allocations: 0 / 0.6451 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.139, allocations: 4 kB / 0.6451 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.1396, allocations: 491.1 kB / 0.6456 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1396, allocations: 0 / 0.6456 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.1397, allocations: 15.92 kB / 0.6456 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.1398, allocations: 24.84 kB / 0.6456 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1398, allocations: 0 / 0.6456 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000925/0.1407, allocations: 1.425 MB / 0.647 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1407, allocations: 0 / 0.647 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.141, allocations: 240.8 kB / 0.6473 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.1411, allocations: 100.9 kB / 0.6474 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1411, allocations: 0 / 0.6474 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1412, allocations: 4 kB / 0.6474 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1413, allocations: 15.92 kB / 0.6474 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1413, allocations: 4 kB / 0.6474 GB, free: 3.848 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1414, allocations: 148.2 kB / 0.6475 GB, free: 3.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1414, allocations: 0 / 0.6475 GB, free: 3.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1417, allocations: 59.78 kB / 0.6476 GB, free: 3.645 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.1418, allocations: 101.5 kB / 0.6477 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1422, allocations: 235 kB / 0.6479 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1422, allocations: 0 / 0.6479 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1424, allocations: 166.7 kB / 0.6481 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1428, allocations: 35.89 kB / 0.6481 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.1434, allocations: 395.7 kB / 0.6485 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1437, allocations: 0.7515 MB / 0.6492 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.1438, allocations: 29.53 kB / 0.6492 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1439, allocations: 15.44 kB / 0.6492 GB, free: 1.855 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1439, allocations: 0 / 0.6492 GB, free: 1.855 MB / 494.1 MB Notification: Performance of Templates: time 0.004476/0.1483, allocations: 1.953 MB / 0.6511 GB, free: 15.92 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)