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.00128/0.001279, allocations: 114 kB / 17.08 MB, free: 5.965 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.001364/0.001364, allocations: 193.9 kB / 18.01 MB, free: 5.051 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.282/1.282, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 115.3 MB / 407.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.3 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004654/0.1383, allocations: 3.188 MB / 0.6358 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1405, allocations: 1.371 MB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1407, allocations: 8 kB / 0.6372 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.1417, allocations: 338.7 kB / 0.6375 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.1421, allocations: 139.2 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.1425, allocations: 151.6 kB / 0.6378 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1429, allocations: 330.9 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.1433, allocations: 259.6 kB / 0.6383 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.1436, allocations: 139.5 kB / 0.6385 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.1439, allocations: 151.4 kB / 0.6386 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.1439, allocations: 27.94 kB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1442, allocations: 167.6 kB / 0.6388 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.1443, allocations: 87.78 kB / 0.6389 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1444, allocations: 115.4 kB / 0.639 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.1449, allocations: 354.9 kB / 0.6393 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1449, allocations: 0 / 0.6393 GB, free: 13.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1449, allocations: 0 / 0.6393 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1449, allocations: 4 kB / 0.6393 GB, free: 13.6 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.0008659/0.1458, allocations: 0.538 MB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1458, allocations: 8.031 kB / 0.6399 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.1464, allocations: 88.42 kB / 0.64 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1468, allocations: 259.3 kB / 0.6402 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.1468, allocations: 16.8 kB / 0.6402 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1468, allocations: 20.38 kB / 0.6402 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1473, allocations: 308.7 kB / 0.6405 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1473, allocations: 7.938 kB / 0.6405 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1474, allocations: 8 kB / 0.6405 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.1474, allocations: 24.41 kB / 0.6406 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1478, allocations: 213.6 kB / 0.6408 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.1492, allocations: 1.486 MB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.1496, allocations: 199.7 kB / 0.6424 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1498, allocations: 48.78 kB / 0.6425 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1498, allocations: 0 / 0.6425 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1498, allocations: 38.56 kB / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.1498, allocations: 0 / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005291/0.1504, allocations: 259.4 kB / 0.6427 GB, free: 9.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1504, allocations: 59.34 kB / 0.6428 GB, free: 9.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1506, allocations: 211.7 kB / 0.643 GB, free: 9.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1506, allocations: 25.7 kB / 0.643 GB, free: 9.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1507, allocations: 175.7 kB / 0.6432 GB, free: 9.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1507, allocations: 27.56 kB / 0.6432 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.1508, allocations: 33.7 kB / 0.6433 GB, free: 9.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1509, allocations: 330.8 kB / 0.6436 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.151, allocations: 47.97 kB / 0.6436 GB, free: 8.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1512, allocations: 114.4 kB / 0.6437 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1514, allocations: 172.3 kB / 0.6439 GB, free: 8.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1514, allocations: 4 kB / 0.6439 GB, free: 8.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003639/0.1518, allocations: 218 kB / 0.6441 GB, free: 8.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1518, allocations: 4 kB / 0.6441 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1518, allocations: 4 kB / 0.6441 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.152, allocations: 29.12 kB / 0.6441 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1521, allocations: 31.98 kB / 0.6442 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.1531, allocations: 1.43 MB / 0.6456 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1533, allocations: 23.81 kB / 0.6456 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1533, allocations: 8 kB / 0.6456 GB, free: 6.586 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.0001199/0.1534, allocations: 153.7 kB / 0.6457 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1535, allocations: 19.89 kB / 0.6458 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.1535, allocations: 21.41 kB / 0.6458 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1535, allocations: 0 / 0.6458 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1535, allocations: 4 kB / 0.6458 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1535, allocations: 0 / 0.6458 GB, free: 6.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.1541, allocations: 499 kB / 0.6463 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1542, allocations: 0 / 0.6463 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.1542, allocations: 8 kB / 0.6463 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-05/0.1543, allocations: 28.84 kB / 0.6463 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1543, allocations: 3.984 kB / 0.6463 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009037/0.1552, allocations: 1.418 MB / 0.6477 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1552, allocations: 0 / 0.6477 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1555, allocations: 240.1 kB / 0.6479 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.877e-05/0.1556, allocations: 105 kB / 0.648 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1556, allocations: 4 kB / 0.648 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1558, allocations: 7.984 kB / 0.648 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.1558, allocations: 4 kB / 0.648 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1558, allocations: 11.98 kB / 0.648 GB, free: 3.832 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1559, allocations: 144.2 kB / 0.6482 GB, free: 3.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.156, allocations: 0 / 0.6482 GB, free: 3.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1563, allocations: 59.78 kB / 0.6482 GB, free: 3.633 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.0001049/0.1564, allocations: 105.6 kB / 0.6483 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.1568, allocations: 230.4 kB / 0.6486 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1568, allocations: 0 / 0.6486 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.157, allocations: 167.2 kB / 0.6487 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1574, allocations: 37.41 kB / 0.6487 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.158, allocations: 421.4 kB / 0.6491 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1584, allocations: 0.7632 MB / 0.6499 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.1584, allocations: 19.42 kB / 0.6499 GB, free: 1.824 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1584, allocations: 0 / 0.6499 GB, free: 1.824 MB / 494.1 MB Notification: Performance of Templates: time 0.005007/0.1634, allocations: 3.242 MB / 0.6531 GB, free: 14.59 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)