Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",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.001035/0.001035, allocations: 95.95 kB / 15.69 MB, free: 476 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.002046/0.002046, allocations: 176 kB / 16.57 MB, free: 6.855 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.353/1.353, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6636/0.6636, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003461, allocations: 8 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1696, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005707/0.1754, allocations: 3.484 MB / 0.5601 GB, free: 8.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1783, allocations: 1.485 MB / 0.5616 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1787, allocations: 4 kB / 0.5616 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.179, allocations: 63.59 kB / 0.5616 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.1795, allocations: 151.5 kB / 0.5618 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.1801, allocations: 163.7 kB / 0.5619 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1806, allocations: 315.3 kB / 0.5622 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.1811, allocations: 386.4 kB / 0.5626 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1813, allocations: 155.5 kB / 0.5628 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.1816, allocations: 167.3 kB / 0.5629 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1817, allocations: 20 kB / 0.5629 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.1819, allocations: 83.77 kB / 0.563 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.182, allocations: 115.8 kB / 0.5631 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.212e-05/0.1821, allocations: 85.52 kB / 0.5632 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1825, allocations: 395.2 kB / 0.5636 GB, free: 4.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1825, allocations: 4 kB / 0.5636 GB, free: 4.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1825, allocations: 0 / 0.5636 GB, free: 4.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1825, allocations: 3.938 kB / 0.5636 GB, free: 4.609 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001043/0.1836, allocations: 0.6202 MB / 0.5642 GB, free: 3.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1836, allocations: 8.031 kB / 0.5642 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.049e-05/0.1837, allocations: 78.53 kB / 0.5643 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006896/0.1844, allocations: 111.4 kB / 0.5644 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1848, allocations: 298.3 kB / 0.5647 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.1849, allocations: 58.7 kB / 0.5647 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.185, allocations: 31.98 kB / 0.5648 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.1857, allocations: 0.5007 MB / 0.5652 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1857, allocations: 4 kB / 0.5653 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.1858, allocations: 15.94 kB / 0.5653 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.1858, allocations: 32.98 kB / 0.5653 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006512/0.1865, allocations: 391.6 kB / 0.5657 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.1888, allocations: 2.216 MB / 0.5678 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007136/0.1895, allocations: 274.6 kB / 0.5681 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1896, allocations: 7.969 kB / 0.5681 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1896, allocations: 38.56 kB / 0.5681 GB, free: 15.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1896, allocations: 0 / 0.5681 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001444/0.1911, allocations: 0.5891 MB / 0.5687 GB, free: 14.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1911, allocations: 55.41 kB / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1913, allocations: 232.9 kB / 0.569 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1913, allocations: 29.7 kB / 0.569 GB, free: 14.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1915, allocations: 207.7 kB / 0.5692 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1915, allocations: 70.94 kB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/0.1916, allocations: 8 kB / 0.5693 GB, free: 14.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1917, allocations: 326.8 kB / 0.5696 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1919, allocations: 99.92 kB / 0.5697 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.1921, allocations: 178.4 kB / 0.5699 GB, free: 13.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1924, allocations: 124.4 kB / 0.57 GB, free: 13.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1924, allocations: 0 / 0.57 GB, free: 13.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008328/0.1933, allocations: 397.2 kB / 0.5704 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.1936, allocations: 0.877 MB / 0.5712 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1936, allocations: 0 / 0.5712 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.1941, allocations: 121.5 kB / 0.5713 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1943, allocations: 55.84 kB / 0.5714 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1973, allocations: 2.851 MB / 0.5742 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.1975, allocations: 35.77 kB / 0.5742 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1975, allocations: 12.19 kB / 0.5742 GB, free: 8.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.1976, allocations: 11.95 kB / 0.5742 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006947/0.1983, allocations: 312.5 kB / 0.5745 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1983, allocations: 4 kB / 0.5745 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.1986, allocations: 80.91 kB / 0.5746 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1988, allocations: 55.91 kB / 0.5747 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.2006, allocations: 1.517 MB / 0.5761 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.2008, allocations: 35.72 kB / 0.5762 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2008, allocations: 8 kB / 0.5762 GB, free: 6.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002364/0.2011, allocations: 255 kB / 0.5764 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2011, allocations: 19.81 kB / 0.5765 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.2012, allocations: 30.17 kB / 0.5765 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2012, allocations: 8 kB / 0.5765 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2012, allocations: 0 / 0.5765 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2012, allocations: 0 / 0.5765 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.2016, allocations: 381.3 kB / 0.5769 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2016, allocations: 0 / 0.5769 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2018, allocations: 35.91 kB / 0.5769 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/0.2021, allocations: 101.6 kB / 0.577 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2022, allocations: 4 kB / 0.577 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/0.2047, allocations: 2.838 MB / 0.5798 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2047, allocations: 0 / 0.5798 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/0.2054, allocations: 413 kB / 0.5802 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2056, allocations: 116.7 kB / 0.5803 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2056, allocations: 11.95 kB / 0.5803 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.2058, allocations: 8 kB / 0.5803 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.2058, allocations: 19.97 kB / 0.5803 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2059, allocations: 4 kB / 0.5803 GB, free: 2.133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.206, allocations: 164.5 kB / 0.5805 GB, free: 1.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.003e-06/0.206, allocations: 0 / 0.5805 GB, free: 1.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006114/0.2066, allocations: 171.3 kB / 0.5806 GB, free: 1.805 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 (16): * Single equations (assignments): 14 * 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.001002/0.2076, allocations: 0.9542 MB / 0.5816 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2094, allocations: 0.7677 MB / 0.5823 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2094, allocations: 0 / 0.5823 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2863/0.4957, allocations: 372.6 kB / 0.5827 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.4962, allocations: 44.44 kB / 0.5827 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.4997, allocations: 3.019 MB / 0.5857 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.5002, allocations: 0.82 MB / 0.5865 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.5005, allocations: 62.02 kB / 0.5865 GB, free: 29.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5007, allocations: 87.95 kB / 0.5866 GB, free: 29.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.715e-06/0.5007, allocations: 3.828 kB / 0.5866 GB, free: 29.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9543/1.455, allocations: 6.456 MB / 0.5929 GB, free: 28.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/1.455, allocations: 202.7 kB / 0.5931 GB, free: 28.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/3.099, allocations: 2.75 kB / 0.5931 GB, free: 28.55 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: