Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.539/1.539, allocations: 288.4 MB / 303.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009713/0.0009715, allocations: 184.4 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006784/0.0006784, allocations: 102.2 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 11.91 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.002837/0.1519, allocations: 3.331 MB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1536, allocations: 1.634 MB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1537, allocations: 4 kB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.1539, allocations: 67.44 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/0.1543, allocations: 199.1 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1546, allocations: 183.6 kB / 0.9855 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.155, allocations: 0.5296 MB / 0.986 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1553, allocations: 316.3 kB / 0.9863 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1554, allocations: 159.4 kB / 0.9864 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1557, allocations: 199.3 kB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.1557, allocations: 19.94 kB / 0.9866 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.156, allocations: 283.4 kB / 0.9869 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1561, allocations: 107.7 kB / 0.987 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1562, allocations: 177 kB / 0.9872 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1565, allocations: 383.3 kB / 0.9875 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1565, allocations: 0 / 0.9875 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1565, allocations: 0 / 0.9875 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1565, allocations: 0 / 0.9875 GB, free: 19.66 MB / 0.6198 GB 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.0006373/0.1572, allocations: 0.577 MB / 0.9881 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1572, allocations: 12.03 kB / 0.9881 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.1573, allocations: 74.64 kB / 0.9882 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.158, allocations: 140.4 kB / 0.9883 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1583, allocations: 283.7 kB / 0.9886 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1583, allocations: 21.03 kB / 0.9886 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1583, allocations: 28.38 kB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.1588, allocations: 463.7 kB / 0.9891 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1588, allocations: 0 / 0.9891 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1589, allocations: 16 kB / 0.9891 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.1589, allocations: 24.55 kB / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.1593, allocations: 321.9 kB / 0.9894 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1606, allocations: 2.204 MB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.1609, allocations: 244.9 kB / 0.9918 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1611, allocations: 112.8 kB / 0.9919 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1611, allocations: 4 kB / 0.9919 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.1612, allocations: 34.56 kB / 0.992 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1612, allocations: 0 / 0.992 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004422/0.1616, allocations: 301.4 kB / 0.9923 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.1616, allocations: 59.34 kB / 0.9923 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1619, allocations: 266.5 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1619, allocations: 33.7 kB / 0.9926 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1619, allocations: 203.8 kB / 0.9928 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.162, allocations: 55.28 kB / 0.9928 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.162, allocations: 4 kB / 0.9928 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.162, allocations: 338.8 kB / 0.9932 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.1621, allocations: 52.44 kB / 0.9932 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.1622, allocations: 141.9 kB / 0.9934 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1624, allocations: 218.9 kB / 0.9936 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1624, allocations: 4.094 kB / 0.9936 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003023/0.1627, allocations: 271.3 kB / 0.9938 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1627, allocations: 5.562 kB / 0.9938 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1627, allocations: 4.375 kB / 0.9938 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.1629, allocations: 28.84 kB / 0.9939 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.163, allocations: 47.92 kB / 0.9939 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/0.1637, allocations: 1.319 MB / 0.9952 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1638, allocations: 27.69 kB / 0.9952 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1638, allocations: 8 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB 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 (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.0001022/0.1639, allocations: 165.8 kB / 0.9954 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.164, allocations: 27.66 kB / 0.9954 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.373e-05/0.164, allocations: 37.91 kB / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.164, allocations: 0 / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.164, allocations: 0 / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1641, allocations: 0 / 0.9955 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.1647, allocations: 0.7102 MB / 0.9961 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1647, allocations: 4 kB / 0.9961 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.1648, allocations: 16 kB / 0.9962 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-05/0.1648, allocations: 24.84 kB / 0.9962 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1649, allocations: 4 kB / 0.9962 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/0.1654, allocations: 1.315 MB / 0.9975 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1654, allocations: 4.031 kB / 0.9975 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1656, allocations: 309.2 kB / 0.9978 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.36e-05/0.1657, allocations: 124.8 kB / 0.9979 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1658, allocations: 0 / 0.9979 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1659, allocations: 12 kB / 0.9979 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.166, allocations: 15.92 kB / 0.9979 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.166, allocations: 11.94 kB / 0.9979 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000119/0.1661, allocations: 193.9 kB / 0.9981 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1661, allocations: 0 / 0.9981 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003119/0.1664, allocations: 83.69 kB / 0.9982 GB, free: 7.789 MB / 0.6198 GB 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 (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.0003502/0.1668, allocations: 0.8476 MB / 0.999 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1671, allocations: 264.1 kB / 0.9993 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1671, allocations: 8.062 kB / 0.9993 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1673, allocations: 190.5 kB / 0.9995 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1677, allocations: 57.2 kB / 0.9995 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1691, allocations: 1.522 MB / 1.001 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1693, allocations: 0.7909 MB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.1694, allocations: 46.25 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.1695, allocations: 83.41 kB / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.1695, allocations: 0 / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6393/0.8088, allocations: 4.94 MB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.8091, allocations: 208.2 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.219, allocations: 0 / 1.007 GB, free: 14.79 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)