Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",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.001206/0.001206, 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.001223/0.001223, allocations: 204 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.206/1.206, 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.6225/0.6225, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 64.2 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004817/0.1227, allocations: 3.846 MB / 0.5596 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1249, allocations: 1.733 MB / 0.5613 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.125, allocations: 11.88 kB / 0.5613 GB, free: 5.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1262, allocations: 469.7 kB / 0.5618 GB, free: 4.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.1265, allocations: 215.1 kB / 0.562 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1269, allocations: 191.6 kB / 0.5621 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.1275, allocations: 0.6622 MB / 0.5628 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.1278, allocations: 249.4 kB / 0.563 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.128, allocations: 159.4 kB / 0.5632 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1283, allocations: 223.2 kB / 0.5634 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.1284, allocations: 20 kB / 0.5634 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.1288, allocations: 307.3 kB / 0.5637 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1289, allocations: 119.6 kB / 0.5638 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.1291, allocations: 163.2 kB / 0.564 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.1296, allocations: 0.5024 MB / 0.5645 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1296, allocations: 0 / 0.5645 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.1297, allocations: 3.938 kB / 0.5645 GB, free: 1.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.1297, allocations: 3.938 kB / 0.5645 GB, free: 1.895 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009053/0.1306, allocations: 0.6316 MB / 0.5651 GB, free: 1.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1306, allocations: 8.031 kB / 0.5651 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.446e-05/0.1307, allocations: 70.72 kB / 0.5652 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008326/0.1315, allocations: 136.4 kB / 0.5653 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.1318, allocations: 287.7 kB / 0.5656 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1318, allocations: 21.03 kB / 0.5656 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.1319, allocations: 24.38 kB / 0.5656 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.1325, allocations: 471.7 kB / 0.5661 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1325, allocations: 3.938 kB / 0.5661 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1325, allocations: 12 kB / 0.5661 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.1326, allocations: 32.55 kB / 0.5661 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.1331, allocations: 317.9 kB / 0.5664 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.135, allocations: 2.197 MB / 0.5686 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.1353, allocations: 247.8 kB / 0.5688 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1355, allocations: 112.8 kB / 0.5689 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.1356, allocations: 3.938 kB / 0.5689 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1356, allocations: 38.56 kB / 0.5689 GB, free: 12.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.1356, allocations: 0 / 0.5689 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005122/0.1361, allocations: 302.4 kB / 0.5692 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1362, allocations: 59.39 kB / 0.5693 GB, free: 12.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.1364, allocations: 266.5 kB / 0.5695 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1364, allocations: 29.7 kB / 0.5696 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1365, allocations: 207.8 kB / 0.5698 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1366, allocations: 47.28 kB / 0.5698 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.1366, allocations: 49.94 kB / 0.5699 GB, free: 11.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.1367, allocations: 334.8 kB / 0.5702 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.1368, allocations: 56.44 kB / 0.5702 GB, free: 11.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.137, allocations: 148.9 kB / 0.5704 GB, free: 11.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.1372, allocations: 213.1 kB / 0.5706 GB, free: 11.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1372, allocations: 0 / 0.5706 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003638/0.1376, allocations: 274.8 kB / 0.5708 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1376, allocations: 5.719 kB / 0.5708 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1376, allocations: 4 kB / 0.5709 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/0.1378, allocations: 24.84 kB / 0.5709 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.138, allocations: 51.91 kB / 0.5709 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.1388, allocations: 1.319 MB / 0.5722 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.139, allocations: 31.72 kB / 0.5722 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.139, allocations: 8 kB / 0.5723 GB, free: 9.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.1391, allocations: 165.9 kB / 0.5724 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.1392, allocations: 27.66 kB / 0.5724 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.1392, allocations: 29.83 kB / 0.5725 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1393, allocations: 4 kB / 0.5725 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1393, allocations: 4.062 kB / 0.5725 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1393, allocations: 7.969 kB / 0.5725 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.1401, allocations: 0.7063 MB / 0.5732 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1401, allocations: 0 / 0.5732 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.1402, allocations: 23.98 kB / 0.5732 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.1403, allocations: 28.97 kB / 0.5732 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1403, allocations: 8 kB / 0.5732 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.1411, allocations: 1.308 MB / 0.5745 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1411, allocations: 8.047 kB / 0.5745 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1415, allocations: 322.8 kB / 0.5748 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.1416, allocations: 112.8 kB / 0.5749 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1416, allocations: 4 kB / 0.5749 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1417, allocations: 15.98 kB / 0.5749 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1418, allocations: 7.984 kB / 0.575 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1418, allocations: 8 kB / 0.575 GB, free: 6.188 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.142, allocations: 197.9 kB / 0.5752 GB, free: 6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.142, allocations: 0 / 0.5752 GB, free: 6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1423, allocations: 83.69 kB / 0.5752 GB, free: 5.918 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000523/0.1429, allocations: 0.843 MB / 0.5761 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1432, allocations: 270.7 kB / 0.5763 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1432, allocations: 0 / 0.5763 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1434, allocations: 186.5 kB / 0.5765 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1439, allocations: 58.33 kB / 0.5765 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.1466, allocations: 2.815 MB / 0.5793 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1469, allocations: 0.8025 MB / 0.5801 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.147, allocations: 42.27 kB / 0.5801 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1471, allocations: 79.41 kB / 0.5802 GB, free: 0.543 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1471, allocations: 4 kB / 0.5802 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2061/0.3532, allocations: 5.059 MB / 0.5851 GB, free: 31.74 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001191/0.3533, allocations: 206.4 kB / 0.5853 GB, free: 31.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.98, allocations: 0.8438 kB / 0.5853 GB, free: 31.49 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)