Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 105.8 kB / 16.4 MB, free: 6.461 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.0009771/0.0009771, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6638/0.6638, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 67.88 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1218, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005315/0.1272, allocations: 4.076 MB / 0.6355 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1294, allocations: 1.589 MB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1296, allocations: 11.94 kB / 0.6371 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.1311, allocations: 0.5784 MB / 0.6377 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.1315, allocations: 234.8 kB / 0.6379 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1319, allocations: 215.5 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005873/0.1325, allocations: 0.553 MB / 0.6386 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.1331, allocations: 477.2 kB / 0.6391 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1333, allocations: 227.3 kB / 0.6393 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.1337, allocations: 251.1 kB / 0.6396 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.1337, allocations: 39.94 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.134, allocations: 171.7 kB / 0.6398 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1341, allocations: 139.7 kB / 0.6399 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.1344, allocations: 203 kB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.1349, allocations: 0.522 MB / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1349, allocations: 4 kB / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1349, allocations: 0 / 0.6406 GB, free: 11.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1349, allocations: 0 / 0.6406 GB, free: 11.65 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001032/0.136, allocations: 0.6748 MB / 0.6413 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.136, allocations: 15.97 kB / 0.6413 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.1361, allocations: 74.72 kB / 0.6413 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007584/0.1368, allocations: 108.4 kB / 0.6414 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.1372, allocations: 299.7 kB / 0.6417 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.1373, allocations: 59.25 kB / 0.6418 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.1373, allocations: 32.31 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/0.1381, allocations: 0.5046 MB / 0.6423 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1381, allocations: 0 / 0.6423 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1381, allocations: 19.98 kB / 0.6423 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/0.1382, allocations: 32.92 kB / 0.6424 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.1389, allocations: 379.7 kB / 0.6427 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.1411, allocations: 2.219 MB / 0.6449 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.1417, allocations: 254.7 kB / 0.6451 GB, free: 6.637 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.142, allocations: 148.8 kB / 0.6453 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1421, allocations: 4 kB / 0.6453 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.1422, allocations: 38.55 kB / 0.6453 GB, free: 6.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 8.145e-06/0.1422, allocations: 0 / 0.6453 GB, free: 6.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001374/0.1436, allocations: 0.573 MB / 0.6459 GB, free: 5.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1436, allocations: 55.41 kB / 0.6459 GB, free: 5.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1438, allocations: 221 kB / 0.6461 GB, free: 5.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1438, allocations: 37.7 kB / 0.6462 GB, free: 5.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1439, allocations: 211.6 kB / 0.6464 GB, free: 5.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.144, allocations: 67.03 kB / 0.6464 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1441, allocations: 53.61 kB / 0.6465 GB, free: 5.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1443, allocations: 330.8 kB / 0.6468 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.1445, allocations: 100.8 kB / 0.6469 GB, free: 4.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.1447, allocations: 183.6 kB / 0.6471 GB, free: 4.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.1452, allocations: 280.3 kB / 0.6474 GB, free: 4.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1452, allocations: 3.938 kB / 0.6474 GB, free: 4.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007585/0.1459, allocations: 370.9 kB / 0.6477 GB, free: 3.812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.146, allocations: 4 kB / 0.6477 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.146, allocations: 4 kB / 0.6477 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005648/0.1465, allocations: 109.7 kB / 0.6478 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1468, allocations: 51.84 kB / 0.6479 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.1496, allocations: 3.059 MB / 0.6509 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.1498, allocations: 31.69 kB / 0.6509 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.1499, allocations: 15.98 kB / 0.6509 GB, free: 256 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003882/0.1503, allocations: 216 kB / 0.6511 GB, free: 36 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002451/0.1505, allocations: 179.1 kB / 0.6513 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000405/0.1509, allocations: 262.9 kB / 0.6515 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.1509, allocations: 4 kB / 0.6515 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0006852/0.1516, allocations: 353.7 kB / 0.6519 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.1517, allocations: 4.312 kB / 0.6519 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1517, allocations: 8 kB / 0.6519 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.152, allocations: 84.78 kB / 0.652 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1523, allocations: 55.84 kB / 0.652 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.154, allocations: 1.612 MB / 0.6536 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1543, allocations: 31.77 kB / 0.6536 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.1543, allocations: 15.94 kB / 0.6536 GB, free: 13.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1544, allocations: 199.6 kB / 0.6538 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.1545, allocations: 19.81 kB / 0.6538 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.1545, allocations: 30.17 kB / 0.6539 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1545, allocations: 4 kB / 0.6539 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.1546, allocations: 11.94 kB / 0.6539 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1546, allocations: 0 / 0.6539 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1559, allocations: 0.8192 MB / 0.6547 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1559, allocations: 0 / 0.6547 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1561, allocations: 35.92 kB / 0.6547 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/0.1564, allocations: 101.7 kB / 0.6548 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1564, allocations: 4 kB / 0.6548 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.1593, allocations: 3.031 MB / 0.6578 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1593, allocations: 0 / 0.6578 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.1601, allocations: 421.5 kB / 0.6582 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1602, allocations: 109 kB / 0.6583 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1602, allocations: 11.98 kB / 0.6583 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1604, allocations: 11.98 kB / 0.6583 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.1604, allocations: 19.97 kB / 0.6583 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1605, allocations: 12 kB / 0.6583 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002301/0.1607, allocations: 160.5 kB / 0.6585 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 0 / 0.6585 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005583/0.1613, allocations: 175.3 kB / 0.6587 GB, free: 7.664 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/0.1624, allocations: 0.9418 MB / 0.6596 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.1641, allocations: 0.7607 MB / 0.6603 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1641, allocations: 4 kB / 0.6603 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.1648, allocations: 371.4 kB / 0.6607 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1653, allocations: 64.5 kB / 0.6607 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.1692, allocations: 2.845 MB / 0.6635 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1695, allocations: 0.8106 MB / 0.6643 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001599/0.1697, allocations: 54.25 kB / 0.6644 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1698, allocations: 95.39 kB / 0.6645 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1698, allocations: 0 / 0.6645 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.1995, allocations: 7.354 MB / 0.6716 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.79, allocations: 13.19 kB / 0.6717 GB, free: 10.22 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)