Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 114.3 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.001163/0.001164, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6886/0.6886, allocations: 115.3 MB / 407.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.56 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1227, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003619/0.1264, allocations: 2.598 MB / 0.6352 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1278, allocations: 0.9041 MB / 0.6361 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.128, allocations: 15.94 kB / 0.6361 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1283, allocations: 63.39 kB / 0.6362 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1284, allocations: 59.39 kB / 0.6363 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.1289, allocations: 241.9 kB / 0.6365 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.1293, allocations: 459.7 kB / 0.6369 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.1296, allocations: 229.1 kB / 0.6371 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1298, allocations: 143.4 kB / 0.6373 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.13, allocations: 155.1 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.1301, allocations: 48 kB / 0.6375 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.1301, allocations: 52 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.1302, allocations: 91.7 kB / 0.6376 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1303, allocations: 179.1 kB / 0.6378 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.1308, allocations: 0.6229 MB / 0.6384 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1308, allocations: 4 kB / 0.6384 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1308, allocations: 3.984 kB / 0.6384 GB, free: 14.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1309, allocations: 0 / 0.6384 GB, free: 14.54 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008785/0.1317, allocations: 0.639 MB / 0.639 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1318, allocations: 8.031 kB / 0.639 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.072e-05/0.1319, allocations: 48.45 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.1323, allocations: 391.2 kB / 0.6394 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.1323, allocations: 20.94 kB / 0.6395 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.1324, allocations: 24.38 kB / 0.6395 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.133, allocations: 329.7 kB / 0.6398 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.133, allocations: 3.938 kB / 0.6398 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.133, allocations: 15.94 kB / 0.6398 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.133, allocations: 4 kB / 0.6398 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.1335, allocations: 234.1 kB / 0.6401 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1348, allocations: 1.163 MB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.1353, allocations: 226.8 kB / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1355, allocations: 108.7 kB / 0.6415 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.1355, allocations: 0 / 0.6415 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1355, allocations: 34.56 kB / 0.6415 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.1355, allocations: 0 / 0.6415 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006561/0.1362, allocations: 303.7 kB / 0.6418 GB, free: 10.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.1363, allocations: 77.11 kB / 0.6419 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.1366, allocations: 336.4 kB / 0.6422 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1367, allocations: 25.7 kB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1368, allocations: 204 kB / 0.6424 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.1369, allocations: 51.27 kB / 0.6425 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.1369, allocations: 37.7 kB / 0.6425 GB, free: 10.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1371, allocations: 346.8 kB / 0.6429 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1373, allocations: 92.78 kB / 0.6429 GB, free: 9.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1375, allocations: 115.4 kB / 0.6431 GB, free: 9.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.1379, allocations: 183.7 kB / 0.6432 GB, free: 9.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1379, allocations: 0 / 0.6432 GB, free: 9.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004349/0.1384, allocations: 270.8 kB / 0.6435 GB, free: 9.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1384, allocations: 4 kB / 0.6435 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1384, allocations: 0 / 0.6435 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1384, allocations: 0 / 0.6435 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1386, allocations: 31.98 kB / 0.6435 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1386, allocations: 3.938 kB / 0.6435 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1387, allocations: 35.61 kB / 0.6436 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1388, allocations: 4 kB / 0.6436 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002205/0.139, allocations: 200.8 kB / 0.6438 GB, free: 8.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001467/0.1391, allocations: 101.6 kB / 0.6439 GB, free: 8.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002404/0.1394, allocations: 164.3 kB / 0.644 GB, free: 8.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.1394, allocations: 3.938 kB / 0.644 GB, free: 8.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000358/0.1398, allocations: 233.1 kB / 0.6442 GB, free: 8.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.1398, allocations: 6.344 kB / 0.6442 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.1398, allocations: 0 / 0.6442 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.1398, allocations: 7.984 kB / 0.6443 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1399, allocations: 20 kB / 0.6443 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1399, allocations: 4 kB / 0.6443 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.14, allocations: 15.92 kB / 0.6443 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1401, allocations: 7.938 kB / 0.6443 GB, free: 8.199 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001197/0.1402, allocations: 192.3 kB / 0.6445 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1402, allocations: 31.62 kB / 0.6445 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.117e-05/0.1403, allocations: 35.28 kB / 0.6445 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1403, allocations: 0 / 0.6445 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1403, allocations: 0 / 0.6445 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1403, allocations: 7.938 kB / 0.6446 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.1407, allocations: 409.2 kB / 0.6449 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1407, allocations: 0 / 0.6449 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1409, allocations: 27.98 kB / 0.645 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1409, allocations: 7.922 kB / 0.645 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1409, allocations: 4 kB / 0.645 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1409, allocations: 4 kB / 0.645 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1409, allocations: 0 / 0.645 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.1416, allocations: 431 kB / 0.6454 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1417, allocations: 132.7 kB / 0.6455 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.1417, allocations: 16.05 kB / 0.6455 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1419, allocations: 7.984 kB / 0.6455 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.1419, allocations: 15.92 kB / 0.6456 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1419, allocations: 8 kB / 0.6456 GB, free: 6.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1422, allocations: 235.1 kB / 0.6458 GB, free: 6.574 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1422, allocations: 0 / 0.6458 GB, free: 6.574 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000367/0.1425, allocations: 87.59 kB / 0.6459 GB, free: 6.488 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.906e-05/0.1426, allocations: 111.2 kB / 0.646 GB, free: 6.371 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.1432, allocations: 287.7 kB / 0.6463 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1432, allocations: 0 / 0.6463 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1434, allocations: 99.89 kB / 0.6463 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.1439, allocations: 76.11 kB / 0.6464 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.1449, allocations: 0.5762 MB / 0.647 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1452, allocations: 0.7791 MB / 0.6477 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.1453, allocations: 23.44 kB / 0.6478 GB, free: 4.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1453, allocations: 0 / 0.6478 GB, free: 4.48 MB / 494.1 MB Notification: Performance of Templates: time 0.006003/0.1513, allocations: 4.039 MB / 0.6517 GB, free: 464 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)