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.001389/0.001389, allocations: 115.4 kB / 17.08 MB, free: 6.012 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.001594/0.001595, allocations: 196.1 kB / 18.02 MB, free: 5.094 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 62.22 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 76.19 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004905/0.1366, allocations: 3.188 MB / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.139, allocations: 1.371 MB / 0.6372 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.1392, allocations: 11.94 kB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.1402, allocations: 330.7 kB / 0.6375 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.1407, allocations: 147.2 kB / 0.6376 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.1411, allocations: 154 kB / 0.6378 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/0.1415, allocations: 330.9 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.142, allocations: 263.6 kB / 0.6384 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1423, allocations: 139.5 kB / 0.6385 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.1426, allocations: 151.4 kB / 0.6386 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.1427, allocations: 20 kB / 0.6386 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.143, allocations: 167.6 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.1431, allocations: 79.8 kB / 0.6389 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.1432, allocations: 123.3 kB / 0.639 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.1437, allocations: 354.9 kB / 0.6393 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1437, allocations: 0 / 0.6393 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1438, allocations: 0 / 0.6393 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1438, allocations: 4 kB / 0.6393 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.0009904/0.1448, allocations: 0.538 MB / 0.6399 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1448, allocations: 16.02 kB / 0.6399 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/0.1454, allocations: 80.5 kB / 0.64 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1458, allocations: 263.3 kB / 0.6402 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.1458, allocations: 16.81 kB / 0.6402 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1458, allocations: 16.38 kB / 0.6402 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.1464, allocations: 320.6 kB / 0.6405 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1464, allocations: 4 kB / 0.6406 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.1464, allocations: 12 kB / 0.6406 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.1465, allocations: 16.42 kB / 0.6406 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.1468, allocations: 209.6 kB / 0.6408 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.1485, allocations: 1.49 MB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.149, allocations: 207.6 kB / 0.6424 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1491, allocations: 48.83 kB / 0.6425 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1491, allocations: 0 / 0.6425 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1491, allocations: 30.56 kB / 0.6425 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1492, allocations: 3.938 kB / 0.6425 GB, free: 10.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005747/0.1497, allocations: 263.3 kB / 0.6428 GB, free: 9.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1498, allocations: 55.41 kB / 0.6428 GB, free: 9.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.15, allocations: 203.7 kB / 0.643 GB, free: 9.492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.15, allocations: 29.7 kB / 0.643 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1501, allocations: 171.7 kB / 0.6432 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1502, allocations: 39.53 kB / 0.6432 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.1502, allocations: 41.7 kB / 0.6433 GB, free: 9.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1504, allocations: 326.8 kB / 0.6436 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.1505, allocations: 47.97 kB / 0.6436 GB, free: 8.824 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1506, allocations: 108.5 kB / 0.6437 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1509, allocations: 172.4 kB / 0.6439 GB, free: 8.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1509, allocations: 4 kB / 0.6439 GB, free: 8.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004009/0.1513, allocations: 210.3 kB / 0.6441 GB, free: 8.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1513, allocations: 8 kB / 0.6441 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1514, allocations: 0 / 0.6441 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.1515, allocations: 32.78 kB / 0.6441 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1517, allocations: 35.86 kB / 0.6442 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.1528, allocations: 1.429 MB / 0.6456 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.153, allocations: 19.83 kB / 0.6456 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.153, allocations: 4 kB / 0.6456 GB, free: 6.594 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.0001404/0.1531, allocations: 149.9 kB / 0.6457 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1532, allocations: 15.81 kB / 0.6458 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.1532, allocations: 21.39 kB / 0.6458 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1532, allocations: 4 kB / 0.6458 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.1532, allocations: 4.031 kB / 0.6458 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1532, allocations: 3.938 kB / 0.6458 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.1539, allocations: 491.1 kB / 0.6463 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1539, allocations: 4 kB / 0.6463 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.1539, allocations: 19.98 kB / 0.6463 GB, free: 5.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.324e-05/0.154, allocations: 28.83 kB / 0.6463 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1541, allocations: 4 kB / 0.6463 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009793/0.155, allocations: 1.414 MB / 0.6477 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1551, allocations: 0 / 0.6477 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1554, allocations: 240.8 kB / 0.6479 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.1555, allocations: 96.91 kB / 0.648 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1555, allocations: 4 kB / 0.648 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.1556, allocations: 8 kB / 0.648 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1557, allocations: 7.984 kB / 0.648 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1557, allocations: 0 / 0.648 GB, free: 3.852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1558, allocations: 148.2 kB / 0.6482 GB, free: 3.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1558, allocations: 3.938 kB / 0.6482 GB, free: 3.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.1562, allocations: 59.78 kB / 0.6482 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.0001068/0.1563, allocations: 97.55 kB / 0.6483 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.1567, allocations: 238.9 kB / 0.6486 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1567, allocations: 0 / 0.6486 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1569, allocations: 162.7 kB / 0.6487 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1573, allocations: 33.69 kB / 0.6487 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.158, allocations: 437.4 kB / 0.6492 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1583, allocations: 0.7515 MB / 0.6499 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.1584, allocations: 19.44 kB / 0.6499 GB, free: 1.836 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1584, allocations: 7.938 kB / 0.6499 GB, free: 1.828 MB / 494.1 MB Notification: Performance of Templates: time 0.005059/0.1635, allocations: 3.226 MB / 0.6531 GB, free: 14.61 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)