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.0007748/0.0007749, allocations: 96.03 kB / 15.69 MB, free: 484 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.0007858/0.0007857, allocations: 176.1 kB / 16.57 MB, free: 6.387 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.131/1.131, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5871/0.5871, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 11.98 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.003328/0.126, allocations: 3.274 MB / 0.5599 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1279, allocations: 1.644 MB / 0.5615 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.506e-05/0.1281, allocations: 4 kB / 0.5615 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1282, allocations: 59.61 kB / 0.5616 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1285, allocations: 151.5 kB / 0.5617 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.1289, allocations: 199.6 kB / 0.5619 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1293, allocations: 295.3 kB / 0.5622 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.1296, allocations: 328.4 kB / 0.5625 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1298, allocations: 139.5 kB / 0.5626 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.13, allocations: 159.4 kB / 0.5628 GB, free: 5.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.13, allocations: 16 kB / 0.5628 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1302, allocations: 83.81 kB / 0.5629 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.1303, allocations: 107.7 kB / 0.563 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.1303, allocations: 81.52 kB / 0.5631 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.1306, allocations: 359.4 kB / 0.5634 GB, free: 4.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1307, allocations: 0 / 0.5634 GB, free: 4.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1307, allocations: 0 / 0.5634 GB, free: 4.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1307, allocations: 0 / 0.5634 GB, free: 4.777 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.0008047/0.1315, allocations: 0.6157 MB / 0.564 GB, free: 4.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.1315, allocations: 8.031 kB / 0.564 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.1316, allocations: 74.53 kB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.1321, allocations: 87.47 kB / 0.5642 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1324, allocations: 282.4 kB / 0.5645 GB, free: 3.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1324, allocations: 24.64 kB / 0.5645 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1325, allocations: 28 kB / 0.5645 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007044/0.1332, allocations: 497.8 kB / 0.565 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1332, allocations: 0 / 0.565 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1333, allocations: 15.98 kB / 0.565 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/0.1333, allocations: 44.62 kB / 0.565 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006764/0.134, allocations: 386.2 kB / 0.5654 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.1358, allocations: 2.037 MB / 0.5674 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1363, allocations: 226.7 kB / 0.5676 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1363, allocations: 0 / 0.5676 GB, free: 148 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1364, allocations: 38.56 kB / 0.5676 GB, free: 100 kB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.1364, allocations: 0 / 0.5676 GB, free: 100 kB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001008/0.1374, allocations: 475.2 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1374, allocations: 51.41 kB / 0.5681 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.1376, allocations: 262.6 kB / 0.5684 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1377, allocations: 29.7 kB / 0.5684 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1378, allocations: 215.7 kB / 0.5686 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1378, allocations: 63.05 kB / 0.5687 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.1378, allocations: 4 kB / 0.5687 GB, free: 14.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.138, allocations: 338.8 kB / 0.569 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1382, allocations: 108.4 kB / 0.5691 GB, free: 14.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1385, allocations: 210.8 kB / 0.5693 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.1388, allocations: 137.6 kB / 0.5695 GB, free: 14.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1388, allocations: 3.953 kB / 0.5695 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006879/0.1395, allocations: 381.8 kB / 0.5698 GB, free: 13.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.1399, allocations: 1.314 MB / 0.5711 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1399, allocations: 11.95 kB / 0.5711 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.1401, allocations: 32.83 kB / 0.5711 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.1403, allocations: 71.89 kB / 0.5712 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.1414, allocations: 1.338 MB / 0.5725 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1416, allocations: 55.56 kB / 0.5726 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1416, allocations: 12 kB / 0.5726 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-06/0.1416, allocations: 4 kB / 0.5726 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005588/0.1422, allocations: 307.7 kB / 0.5729 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1422, allocations: 4 kB / 0.5729 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.1422, allocations: 4 kB / 0.5729 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1425, allocations: 79.89 kB / 0.573 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1425, allocations: 4 kB / 0.573 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1427, allocations: 44 kB / 0.573 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1427, allocations: 16 kB / 0.573 GB, free: 10.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.1429, allocations: 252.9 kB / 0.5733 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.143, allocations: 27.72 kB / 0.5733 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.143, allocations: 34.17 kB / 0.5733 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.143, allocations: 0 / 0.5733 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1431, allocations: 0 / 0.5733 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1431, allocations: 0 / 0.5733 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1434, allocations: 357.3 kB / 0.5737 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1434, allocations: 0 / 0.5737 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.1436, allocations: 43.95 kB / 0.5737 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.739e-05/0.1437, allocations: 24.84 kB / 0.5737 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1437, allocations: 4 kB / 0.5737 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008209/0.1446, allocations: 1.335 MB / 0.575 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1446, allocations: 8.234 kB / 0.5751 GB, free: 7.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.1452, allocations: 383.8 kB / 0.5754 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1453, allocations: 112.8 kB / 0.5755 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1453, allocations: 8 kB / 0.5755 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1455, allocations: 23.92 kB / 0.5756 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1455, allocations: 15.98 kB / 0.5756 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1455, allocations: 3.984 kB / 0.5756 GB, free: 7.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1457, allocations: 182 kB / 0.5757 GB, free: 7.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1457, allocations: 4 kB / 0.5758 GB, free: 7.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.1462, allocations: 139.5 kB / 0.5759 GB, free: 7.07 MB / 446.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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007921/0.147, allocations: 0.9145 MB / 0.5768 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.1479, allocations: 0.5242 MB / 0.5773 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1479, allocations: 0 / 0.5773 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1483, allocations: 235.1 kB / 0.5775 GB, free: 5.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1486, allocations: 64.47 kB / 0.5776 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1515, allocations: 3.796 MB / 0.5813 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1519, allocations: 0.811 MB / 0.5821 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.1521, allocations: 74.22 kB / 0.5821 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.1522, allocations: 83.41 kB / 0.5822 GB, free: 392 kB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1522, allocations: 4 kB / 0.5822 GB, free: 388 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.587/2.739, allocations: 5.582 MB / 0.5877 GB, free: 31.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/2.739, allocations: 212.1 kB / 0.5879 GB, free: 31.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/4.669, allocations: 4.75 kB / 0.5879 GB, free: 31.45 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/linux/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) Environment - environmentSimulation: