Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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.0007722/0.0007723, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005392/0.005393, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.325/1.325, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001834/0.001834, allocations: 262.2 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 19.84 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002029/0.1752, allocations: 1.209 MB / 0.6864 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003316/0.1755, allocations: 105.5 kB / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.1756, allocations: 0 / 0.6865 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.1756, allocations: 3.984 kB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.1757, allocations: 10.72 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1759, allocations: 19.92 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.176, allocations: 43.84 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.1761, allocations: 8.266 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.598e-05/0.1762, allocations: 16.48 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.1763, allocations: 19.86 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1763, allocations: 7.438 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.1764, allocations: 19.98 kB / 0.6867 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.1764, allocations: 11.98 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.1765, allocations: 41.58 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.1766, allocations: 59.72 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1767, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1767, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1767, allocations: 0 / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006513/0.1773, allocations: 393.5 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1774, allocations: 10.44 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.1775, allocations: 30.75 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.1775, allocations: 4.938 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1777, allocations: 176.2 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1777, allocations: 384 / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1777, allocations: 8.375 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.178, allocations: 84.56 kB / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.178, allocations: 4.594 kB / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1781, allocations: 0 / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1781, allocations: 1.438 kB / 0.6874 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1784, allocations: 99.08 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1789, allocations: 290.3 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.1791, allocations: 77.47 kB / 0.6879 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1793, allocations: 60.84 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.1796, allocations: 105.1 kB / 0.688 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.1796, allocations: 34.55 kB / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1797, allocations: 4 kB / 0.6881 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006845/0.1803, allocations: 185.4 kB / 0.6883 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.1804, allocations: 51.41 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1806, allocations: 128.6 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1806, allocations: 25.7 kB / 0.6885 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1807, allocations: 100.1 kB / 0.6886 GB, free: 11.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1807, allocations: 3.906 kB / 0.6886 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1807, allocations: 9.719 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1809, allocations: 322.8 kB / 0.6889 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.181, allocations: 47.95 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.1812, allocations: 43.97 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.1815, allocations: 112.7 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1815, allocations: 0 / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003668/0.1819, allocations: 133.5 kB / 0.6892 GB, free: 10.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1819, allocations: 4 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1819, allocations: 0 / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1819, allocations: 4 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1821, allocations: 19.98 kB / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1821, allocations: 0 / 0.6892 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.403e-05/0.1822, allocations: 19.97 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1822, allocations: 4 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/0.1823, allocations: 122.4 kB / 0.6894 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1823, allocations: 3.906 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.1827, allocations: 145.4 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1827, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1827, allocations: 3.938 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1827, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.1829, allocations: 189.5 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1829, allocations: 4 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.739e-05/0.183, allocations: 23.98 kB / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.183, allocations: 0 / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1831, allocations: 0 / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1831, allocations: 0 / 0.6897 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1831, allocations: 7.938 kB / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1835, allocations: 235.2 kB / 0.6899 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.1835, allocations: 77.11 kB / 0.69 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1835, allocations: 0 / 0.69 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1836, allocations: 19.98 kB / 0.69 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.1837, allocations: 12.41 kB / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1837, allocations: 0 / 0.6901 GB, free: 9.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.1838, allocations: 95.27 kB / 0.6901 GB, free: 9.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1838, allocations: 0 / 0.6901 GB, free: 9.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.184, allocations: 12 kB / 0.6902 GB, free: 9.582 MB / 494.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007227/0.1847, allocations: 0.7748 MB / 0.6909 GB, free: 8.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1851, allocations: 99.86 kB / 0.691 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1851, allocations: 0 / 0.691 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1853, allocations: 55.95 kB / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1855, allocations: 12.14 kB / 0.6911 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.186, allocations: 194.3 kB / 0.6913 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1862, allocations: 0.6809 MB / 0.6919 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.055e-05/0.1862, allocations: 11.98 kB / 0.6919 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.1863, allocations: 15.44 kB / 0.6919 GB, free: 7.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1863, allocations: 0 / 0.6919 GB, free: 7.66 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.1967, allocations: 1.562 MB / 0.6935 GB, free: 6.234 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.1969, allocations: 217 kB / 0.6937 GB, free: 5.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.106, allocations: 0 / 0.6937 GB, free: 5.973 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)