Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.005214/0.005214, allocations: 98.67 kB / 15.88 MB, free: 6.32 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.0013/0.0013, allocations: 195.7 kB / 16.79 MB, free: 6.254 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.223/1.223, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6233/0.6233, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 56.47 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1226, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004754/0.1274, allocations: 3.872 MB / 0.5596 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1297, allocations: 1.761 MB / 0.5613 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1299, allocations: 7.938 kB / 0.5614 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.1309, allocations: 429.7 kB / 0.5618 GB, free: 4.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1314, allocations: 235 kB / 0.562 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1318, allocations: 230.7 kB / 0.5622 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005745/0.1324, allocations: 0.6973 MB / 0.5629 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.1328, allocations: 245.2 kB / 0.5631 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.133, allocations: 171.3 kB / 0.5633 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.1333, allocations: 243.1 kB / 0.5635 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.1334, allocations: 20 kB / 0.5635 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1337, allocations: 227.5 kB / 0.5638 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1338, allocations: 119.7 kB / 0.5639 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.134, allocations: 175.1 kB / 0.564 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.1345, allocations: 0.4906 MB / 0.5645 GB, free: 1.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1345, allocations: 0 / 0.5645 GB, free: 1.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1345, allocations: 4 kB / 0.5645 GB, free: 1.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1345, allocations: 0 / 0.5645 GB, free: 1.824 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001002/0.1355, allocations: 0.651 MB / 0.5652 GB, free: 1.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1356, allocations: 8.031 kB / 0.5652 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.1356, allocations: 78.72 kB / 0.5652 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005081/0.1362, allocations: 80.41 kB / 0.5653 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1365, allocations: 299.5 kB / 0.5656 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.1365, allocations: 29 kB / 0.5656 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.1366, allocations: 24.38 kB / 0.5657 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.1373, allocations: 485.8 kB / 0.5661 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1373, allocations: 3.938 kB / 0.5661 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1374, allocations: 15.98 kB / 0.5661 GB, free: 40 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.1374, allocations: 40.62 kB / 0.5662 GB, free: 0 / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/0.1382, allocations: 366.2 kB / 0.5665 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.1401, allocations: 2.041 MB / 0.5685 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.1406, allocations: 210.7 kB / 0.5687 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.1409, allocations: 156.8 kB / 0.5689 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.141, allocations: 3.984 kB / 0.5689 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.141, allocations: 38.56 kB / 0.5689 GB, free: 12.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.141, allocations: 3.938 kB / 0.5689 GB, free: 12.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009737/0.142, allocations: 420.9 kB / 0.5693 GB, free: 12.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.142, allocations: 59.34 kB / 0.5694 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1423, allocations: 262.7 kB / 0.5696 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1423, allocations: 29.7 kB / 0.5696 GB, free: 12.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1424, allocations: 211.7 kB / 0.5698 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1425, allocations: 67.03 kB / 0.5699 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.1425, allocations: 57.89 kB / 0.57 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1427, allocations: 338.8 kB / 0.5703 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1429, allocations: 93.91 kB / 0.5704 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.1432, allocations: 207.6 kB / 0.5706 GB, free: 11.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.1437, allocations: 315.9 kB / 0.5709 GB, free: 10.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1437, allocations: 0 / 0.5709 GB, free: 10.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006969/0.1444, allocations: 353.8 kB / 0.5712 GB, free: 10.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1444, allocations: 4 kB / 0.5712 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1444, allocations: 4 kB / 0.5712 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.1446, allocations: 49.16 kB / 0.5713 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1449, allocations: 63.84 kB / 0.5713 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.146, allocations: 1.333 MB / 0.5726 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1462, allocations: 43.66 kB / 0.5727 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1463, allocations: 12 kB / 0.5727 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003062/0.1466, allocations: 216.7 kB / 0.5729 GB, free: 8.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002781/0.1469, allocations: 217.5 kB / 0.5731 GB, free: 8.305 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000486/0.1473, allocations: 318.2 kB / 0.5734 GB, free: 7.941 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.1474, allocations: 4 kB / 0.5734 GB, free: 7.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006094/0.148, allocations: 332.9 kB / 0.5737 GB, free: 7.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.148, allocations: 12.44 kB / 0.5737 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.148, allocations: 8 kB / 0.5737 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.148, allocations: 7.938 kB / 0.5738 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1483, allocations: 71.83 kB / 0.5738 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1483, allocations: 8 kB / 0.5738 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1485, allocations: 31.81 kB / 0.5739 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1485, allocations: 16 kB / 0.5739 GB, free: 7.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.1487, allocations: 205.7 kB / 0.5741 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.1487, allocations: 27.66 kB / 0.5741 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.1488, allocations: 30.17 kB / 0.5741 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1488, allocations: 4 kB / 0.5741 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1488, allocations: 0 / 0.5741 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1488, allocations: 3.938 kB / 0.5741 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.1499, allocations: 0.7485 MB / 0.5749 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1499, allocations: 4 kB / 0.5749 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1501, allocations: 39.91 kB / 0.5749 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.522e-05/0.1502, allocations: 28.91 kB / 0.5749 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1502, allocations: 4 kB / 0.5749 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.1511, allocations: 1.327 MB / 0.5762 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1511, allocations: 0 / 0.5762 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.1516, allocations: 367.7 kB / 0.5766 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.1517, allocations: 120.7 kB / 0.5767 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.1518, allocations: 4 kB / 0.5767 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.152, allocations: 19.92 kB / 0.5767 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.152, allocations: 15.98 kB / 0.5767 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.152, allocations: 4 kB / 0.5767 GB, free: 4.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1522, allocations: 194 kB / 0.5769 GB, free: 4.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1522, allocations: 0 / 0.5769 GB, free: 4.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000523/0.1527, allocations: 139.5 kB / 0.5771 GB, free: 3.934 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008413/0.1536, allocations: 0.898 MB / 0.5779 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009008/0.1545, allocations: 493.7 kB / 0.5784 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1545, allocations: 0 / 0.5784 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1548, allocations: 230.7 kB / 0.5786 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1553, allocations: 66.48 kB / 0.5787 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1952/0.3505, allocations: 2.983 MB / 0.5816 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3507, allocations: 0.8041 MB / 0.5824 GB, free: 30.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.351, allocations: 66.33 kB / 0.5825 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3511, allocations: 92.77 kB / 0.5825 GB, free: 30.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3511, allocations: 0 / 0.5825 GB, free: 30.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.3677, allocations: 5.814 MB / 0.5882 GB, free: 30.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.3679, allocations: 228.9 kB / 0.5884 GB, free: 30.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.042, allocations: 0 / 0.5884 GB, free: 30.01 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)