Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.53/1.53, allocations: 288.4 MB / 303.6 MB, free: 8.086 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.0008868/0.0008868, allocations: 179 kB / 372.2 MB, free: 10.13 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.294/1.294, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008606/0.0008606, allocations: 101.1 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 10.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003203/0.1544, allocations: 3.581 MB / 0.9837 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1562, allocations: 1.497 MB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1564, allocations: 4 kB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.1566, allocations: 67.5 kB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.157, allocations: 211 kB / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1575, allocations: 185.5 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1579, allocations: 0.6153 MB / 0.9862 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003897/0.1583, allocations: 443.8 kB / 0.9866 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1585, allocations: 179.3 kB / 0.9868 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.1589, allocations: 235.2 kB / 0.987 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.457e-05/0.1589, allocations: 16 kB / 0.987 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1592, allocations: 187.6 kB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.1593, allocations: 127.7 kB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1594, allocations: 188.9 kB / 0.9875 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.1597, allocations: 419.1 kB / 0.9879 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1597, allocations: 0 / 0.9879 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1597, allocations: 0 / 0.9879 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1597, allocations: 3.938 kB / 0.9879 GB, free: 19.27 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008498/0.1606, allocations: 0.6126 MB / 0.9885 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1606, allocations: 8.031 kB / 0.9885 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.958e-05/0.1607, allocations: 78.7 kB / 0.9886 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.1613, allocations: 112.4 kB / 0.9887 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1616, allocations: 295.6 kB / 0.989 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.1617, allocations: 67.17 kB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.1617, allocations: 32.38 kB / 0.9891 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.1624, allocations: 0.5085 MB / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1624, allocations: 3.938 kB / 0.9896 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1624, allocations: 16 kB / 0.9896 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.1625, allocations: 28.98 kB / 0.9896 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.163, allocations: 391.7 kB / 0.99 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1648, allocations: 2.22 MB / 0.9922 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.1653, allocations: 266.6 kB / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.1656, allocations: 156.8 kB / 0.9926 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1657, allocations: 0 / 0.9926 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.1657, allocations: 42.5 kB / 0.9926 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.042e-06/0.1657, allocations: 4 kB / 0.9926 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001254/0.167, allocations: 0.5888 MB / 0.9932 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.167, allocations: 55.41 kB / 0.9932 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1672, allocations: 225 kB / 0.9934 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1672, allocations: 33.7 kB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.1673, allocations: 207.6 kB / 0.9937 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1673, allocations: 63.05 kB / 0.9937 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.1673, allocations: 8 kB / 0.9937 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.1674, allocations: 330.8 kB / 0.9941 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1675, allocations: 91.94 kB / 0.9941 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1677, allocations: 183.6 kB / 0.9943 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1681, allocations: 282.9 kB / 0.9946 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1681, allocations: 3.938 kB / 0.9946 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007061/0.1689, allocations: 389.9 kB / 0.995 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.1689, allocations: 161.7 kB / 0.9951 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1689, allocations: 0 / 0.9951 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.1694, allocations: 117.5 kB / 0.9952 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1696, allocations: 47.98 kB / 0.9953 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.1717, allocations: 2.824 MB / 0.998 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.1719, allocations: 47.77 kB / 0.9981 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1719, allocations: 8 kB / 0.9981 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.032e-06/0.172, allocations: 4 kB / 0.9981 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006353/0.1726, allocations: 316.5 kB / 0.9984 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1726, allocations: 4 kB / 0.9984 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.1729, allocations: 76.94 kB / 0.9985 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1731, allocations: 59.91 kB / 0.9985 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.1744, allocations: 1.495 MB / 1 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1746, allocations: 31.83 kB / 1 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1746, allocations: 8 kB / 1 GB, free: 5.859 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.1748, allocations: 257 kB / 1 GB, free: 5.598 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1748, allocations: 23.66 kB / 1 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1749, allocations: 30.17 kB / 1 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1749, allocations: 7.875 kB / 1 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1749, allocations: 4 kB / 1 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1749, allocations: 0 / 1 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1759, allocations: 0.8365 MB / 1.001 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1759, allocations: 8.062 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.1761, allocations: 31.98 kB / 1.001 GB, free: 4.578 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.1764, allocations: 105.6 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1764, allocations: 3.938 kB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.1783, allocations: 2.806 MB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1783, allocations: 0 / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.1789, allocations: 426.5 kB / 1.004 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.179, allocations: 116.7 kB / 1.005 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.179, allocations: 8 kB / 1.005 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1791, allocations: 19.92 kB / 1.005 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.1792, allocations: 19.91 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1792, allocations: 12 kB / 1.005 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.192e-05/0.1793, allocations: 160.5 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1793, allocations: 0 / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004625/0.1798, allocations: 171.4 kB / 1.005 GB, free: 432 kB / 0.6198 GB 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008412/0.1806, allocations: 0.9536 MB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.1823, allocations: 0.7659 MB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1823, allocations: 0 / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006856/0.183, allocations: 373.8 kB / 1.007 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1834, allocations: 49.39 kB / 1.007 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1857, allocations: 1.686 MB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1861, allocations: 0.8145 MB / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.1862, allocations: 54.25 kB / 1.01 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1864, allocations: 87.41 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.1864, allocations: 0 / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6716/0.8579, allocations: 6.559 MB / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.8582, allocations: 225.5 kB / 1.016 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.244, allocations: 0 / 1.016 GB, free: 4.82 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)