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.0007258/0.0007293, allocations: 97.2 kB / 15.69 MB, free: 480 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.0007811/0.0007811, allocations: 177.1 kB / 16.57 MB, free: 6.859 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.128/1.128, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5847/0.5847, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 11.98 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1223, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.003135/0.1254, allocations: 3.235 MB / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1272, allocations: 1.594 MB / 0.5614 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.1273, allocations: 7.938 kB / 0.5614 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1274, allocations: 51.67 kB / 0.5615 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.1277, allocations: 163.4 kB / 0.5616 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.128, allocations: 151.7 kB / 0.5618 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1283, allocations: 259.5 kB / 0.562 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.1285, allocations: 297.4 kB / 0.5623 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.1287, allocations: 131.5 kB / 0.5624 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1289, allocations: 139.4 kB / 0.5626 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1289, allocations: 16 kB / 0.5626 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1291, allocations: 115.8 kB / 0.5627 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.1292, allocations: 95.77 kB / 0.5628 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.1292, allocations: 85.52 kB / 0.5629 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1295, allocations: 375 kB / 0.5632 GB, free: 4.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.1296, allocations: 0 / 0.5632 GB, free: 4.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1296, allocations: 0 / 0.5632 GB, free: 4.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1296, allocations: 4 kB / 0.5632 GB, free: 4.969 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.0006194/0.1302, allocations: 0.5769 MB / 0.5638 GB, free: 4.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.198e-05/0.1302, allocations: 11.97 kB / 0.5638 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.1303, allocations: 70.53 kB / 0.5639 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.1311, allocations: 143.5 kB / 0.564 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1314, allocations: 278.5 kB / 0.5643 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1315, allocations: 20.66 kB / 0.5643 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.1315, allocations: 31.98 kB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.132, allocations: 459.6 kB / 0.5648 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.132, allocations: 4 kB / 0.5648 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1321, allocations: 15.98 kB / 0.5648 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1321, allocations: 24.55 kB / 0.5648 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1325, allocations: 321.9 kB / 0.5651 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.1343, allocations: 2.197 MB / 0.5673 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1346, allocations: 251.7 kB / 0.5675 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.1346, allocations: 4 kB / 0.5675 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1346, allocations: 38.56 kB / 0.5676 GB, free: 176 kB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.1347, allocations: 0 / 0.5676 GB, free: 176 kB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004907/0.1351, allocations: 315.1 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1352, allocations: 55.34 kB / 0.5679 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1354, allocations: 266.6 kB / 0.5682 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1354, allocations: 29.7 kB / 0.5682 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.1355, allocations: 215.8 kB / 0.5684 GB, free: 15.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.1356, allocations: 47.3 kB / 0.5684 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.1356, allocations: 0 / 0.5684 GB, free: 15.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.1357, allocations: 338.8 kB / 0.5688 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.1358, allocations: 56.44 kB / 0.5688 GB, free: 14.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1359, allocations: 140.6 kB / 0.5689 GB, free: 14.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.136, allocations: 90.09 kB / 0.569 GB, free: 14.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.136, allocations: 0 / 0.569 GB, free: 14.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003601/0.1364, allocations: 269.8 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1364, allocations: 4 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1364, allocations: 4 kB / 0.5693 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.1366, allocations: 33.19 kB / 0.5693 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.1367, allocations: 43.92 kB / 0.5694 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008456/0.1376, allocations: 1.323 MB / 0.5707 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.1378, allocations: 27.69 kB / 0.5707 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1378, allocations: 15.98 kB / 0.5707 GB, free: 12.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1379, allocations: 165.7 kB / 0.5709 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.138, allocations: 23.72 kB / 0.5709 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.138, allocations: 26.02 kB / 0.5709 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.138, allocations: 11.94 kB / 0.5709 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.138, allocations: 0 / 0.5709 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.138, allocations: 3.984 kB / 0.5709 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.1387, allocations: 0.635 MB / 0.5715 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1388, allocations: 128 / 0.5715 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.1389, allocations: 28.12 kB / 0.5716 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.1389, allocations: 20.84 kB / 0.5716 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.139, allocations: 12 kB / 0.5716 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/0.1397, allocations: 1.319 MB / 0.5729 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1397, allocations: 0 / 0.5729 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.14, allocations: 350.5 kB / 0.5732 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.1401, allocations: 116.8 kB / 0.5733 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1402, allocations: 7.984 kB / 0.5733 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1403, allocations: 12 kB / 0.5734 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.1403, allocations: 15.94 kB / 0.5734 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1404, allocations: 4 kB / 0.5734 GB, free: 9.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1405, allocations: 190 kB / 0.5736 GB, free: 9.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1405, allocations: 0 / 0.5736 GB, free: 9.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1409, allocations: 83.75 kB / 0.5736 GB, free: 9.406 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005701/0.1414, allocations: 1.163 MB / 0.5748 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003686/0.1418, allocations: 270.5 kB / 0.575 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1418, allocations: 0.6875 kB / 0.575 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.142, allocations: 186.5 kB / 0.5752 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1423, allocations: 51.19 kB / 0.5753 GB, free: 7.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1445, allocations: 3.171 MB / 0.5784 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1448, allocations: 0.7991 MB / 0.5791 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1449, allocations: 46.25 kB / 0.5792 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.145, allocations: 87.34 kB / 0.5793 GB, free: 3.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.145, allocations: 0 / 0.5793 GB, free: 3.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.864/3.009, allocations: 4.817 MB / 0.584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/3.01, allocations: 193.6 kB / 0.5842 GB, free: 32.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/4.929, allocations: 0 / 0.5842 GB, free: 32.09 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/linux/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) Environment - environmentSimulation: