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.001199/0.001199, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.213/1.213, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6231/0.6231, allocations: 115.3 MB / 405.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.23 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1221, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005082/0.1272, allocations: 4.121 MB / 0.5599 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1295, allocations: 1.578 MB / 0.5614 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.1297, allocations: 4 kB / 0.5614 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.1311, allocations: 0.5607 MB / 0.562 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.1315, allocations: 223 kB / 0.5622 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.132, allocations: 195.7 kB / 0.5624 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.1327, allocations: 0.7714 MB / 0.5631 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.1331, allocations: 318.1 kB / 0.5634 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.1333, allocations: 195.3 kB / 0.5636 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.1337, allocations: 271 kB / 0.5639 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.1338, allocations: 24 kB / 0.5639 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.1342, allocations: 199.6 kB / 0.5641 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1343, allocations: 135.7 kB / 0.5642 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1345, allocations: 191 kB / 0.5644 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.135, allocations: 0.5101 MB / 0.5649 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1351, allocations: 0 / 0.5649 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1351, allocations: 0 / 0.5649 GB, free: 1.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1351, allocations: 0 / 0.5649 GB, free: 1.441 MB / 430.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.001127/0.1362, allocations: 0.6864 MB / 0.5656 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1362, allocations: 12.03 kB / 0.5656 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.336e-05/0.1363, allocations: 82.69 kB / 0.5656 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006768/0.137, allocations: 108.4 kB / 0.5658 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.1374, allocations: 291.7 kB / 0.566 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.1374, allocations: 59.19 kB / 0.5661 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/0.1375, allocations: 36.38 kB / 0.5661 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/0.1383, allocations: 0.5046 MB / 0.5666 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1383, allocations: 0 / 0.5666 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.1383, allocations: 12 kB / 0.5666 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.1384, allocations: 36.97 kB / 0.5667 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.1391, allocations: 375.7 kB / 0.567 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.1412, allocations: 2.216 MB / 0.5692 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.1419, allocations: 254.6 kB / 0.5694 GB, free: 12.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.1422, allocations: 164.7 kB / 0.5696 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1423, allocations: 3.984 kB / 0.5696 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.1423, allocations: 34.56 kB / 0.5696 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.1423, allocations: 0 / 0.5696 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001362/0.1437, allocations: 0.5773 MB / 0.5702 GB, free: 11.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1437, allocations: 51.41 kB / 0.5702 GB, free: 11.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1439, allocations: 225 kB / 0.5704 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1439, allocations: 25.7 kB / 0.5705 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.144, allocations: 215.6 kB / 0.5707 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1441, allocations: 63.09 kB / 0.5707 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.1442, allocations: 57.61 kB / 0.5708 GB, free: 10.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.1443, allocations: 330.8 kB / 0.5711 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1445, allocations: 92.8 kB / 0.5712 GB, free: 10.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.1447, allocations: 187 kB / 0.5714 GB, free: 10.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.1452, allocations: 273.2 kB / 0.5716 GB, free: 9.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1452, allocations: 7.938 kB / 0.5716 GB, free: 9.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008072/0.146, allocations: 368.8 kB / 0.572 GB, free: 9.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.146, allocations: 11.94 kB / 0.572 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.146, allocations: 320 / 0.572 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/0.1465, allocations: 113.6 kB / 0.5721 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1467, allocations: 59.84 kB / 0.5722 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/0.1494, allocations: 2.823 MB / 0.5749 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.1496, allocations: 35.67 kB / 0.575 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1496, allocations: 15.94 kB / 0.575 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002881/0.1499, allocations: 221.6 kB / 0.5752 GB, free: 6.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002461/0.1502, allocations: 184.8 kB / 0.5754 GB, free: 5.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004132/0.1506, allocations: 270.8 kB / 0.5756 GB, free: 5.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.1506, allocations: 3.938 kB / 0.5756 GB, free: 5.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007098/0.1513, allocations: 340 kB / 0.576 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.1513, allocations: 8.312 kB / 0.576 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1514, allocations: 7.984 kB / 0.576 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/0.1516, allocations: 80.73 kB / 0.576 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1519, allocations: 55.91 kB / 0.5761 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.1535, allocations: 1.508 MB / 0.5776 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.1538, allocations: 27.83 kB / 0.5776 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1538, allocations: 12.06 kB / 0.5776 GB, free: 3.367 MB / 446.1 MB 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.0001047/0.1539, allocations: 196.1 kB / 0.5778 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.154, allocations: 27.66 kB / 0.5778 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.154, allocations: 30.17 kB / 0.5778 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.154, allocations: 4 kB / 0.5779 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.154, allocations: 0 / 0.5779 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.154, allocations: 0 / 0.5779 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1552, allocations: 0.8307 MB / 0.5787 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1552, allocations: 4 kB / 0.5787 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1554, allocations: 28.05 kB / 0.5787 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.1557, allocations: 101.6 kB / 0.5788 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1558, allocations: 11.98 kB / 0.5788 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2038/0.3596, allocations: 2.805 MB / 0.5815 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.3596, allocations: 0.5938 kB / 0.5815 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.3604, allocations: 409.6 kB / 0.5819 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.3605, allocations: 119.3 kB / 0.582 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.3606, allocations: 4.703 kB / 0.5821 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3607, allocations: 17.31 kB / 0.5821 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.3608, allocations: 18.8 kB / 0.5821 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3608, allocations: 10.16 kB / 0.5821 GB, free: 30.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.361, allocations: 166.2 kB / 0.5823 GB, free: 30.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.361, allocations: 1.156 kB / 0.5823 GB, free: 30.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000614/0.3616, allocations: 165.9 kB / 0.5824 GB, free: 30.58 MB / 446.1 MB 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.0008366/0.3624, allocations: 0.9451 MB / 0.5833 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3641, allocations: 0.7521 MB / 0.5841 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3641, allocations: 3.5 kB / 0.5841 GB, free: 29.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.3648, allocations: 371 kB / 0.5844 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3652, allocations: 49.3 kB / 0.5845 GB, free: 29.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.3685, allocations: 2.972 MB / 0.5874 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3687, allocations: 0.8094 MB / 0.5882 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.3689, allocations: 59.08 kB / 0.5882 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.369, allocations: 92.14 kB / 0.5883 GB, free: 26.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3691, allocations: 3.344 kB / 0.5883 GB, free: 26.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.387, allocations: 6.732 MB / 0.5949 GB, free: 26.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.3872, allocations: 236.8 kB / 0.5951 GB, free: 26.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.146, allocations: 3.938 kB / 0.5951 GB, free: 26.05 MB / 446.1 MB (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)