Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",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.0008973/0.0008972, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001088/0.001088, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.049/1.049, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.000461, allocations: 15.98 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 83.41 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.001816/0.1797, allocations: 1.19 MB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.18, allocations: 104.6 kB / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.1801, allocations: 0 / 0.5988 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.1801, allocations: 3.938 kB / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.712e-05/0.1802, allocations: 7.938 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1804, allocations: 15.98 kB / 0.5988 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.79e-05/0.1805, allocations: 43.84 kB / 0.5989 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.163e-05/0.1806, allocations: 4 kB / 0.5989 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1806, allocations: 19.92 kB / 0.5989 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1807, allocations: 19.92 kB / 0.5989 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1807, allocations: 0 / 0.5989 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.1808, allocations: 11.98 kB / 0.5989 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.1808, allocations: 15.97 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.1808, allocations: 37.64 kB / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.1809, allocations: 39.94 kB / 0.599 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1809, allocations: 0 / 0.599 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.181, allocations: 0 / 0.599 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.181, allocations: 0 / 0.599 GB, free: 6.18 MB / 0.4981 GB 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.0005069/0.1815, allocations: 383.3 kB / 0.5994 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1815, allocations: 12.03 kB / 0.5994 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.1816, allocations: 38.44 kB / 0.5994 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.1816, allocations: 7.906 kB / 0.5994 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1818, allocations: 171 kB / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1818, allocations: 0 / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1818, allocations: 4 kB / 0.5996 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1821, allocations: 85.59 kB / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1821, allocations: 4 kB / 0.5997 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1821, allocations: 4 kB / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1821, allocations: 0 / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.1824, allocations: 95.91 kB / 0.5998 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1829, allocations: 296.8 kB / 0.6001 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1831, allocations: 78.53 kB / 0.6001 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1832, allocations: 60.84 kB / 0.6002 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.1835, allocations: 101.1 kB / 0.6003 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1835, allocations: 38.55 kB / 0.6003 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1836, allocations: 0 / 0.6003 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000552/0.1841, allocations: 173.6 kB / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1842, allocations: 59.36 kB / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1843, allocations: 125.8 kB / 0.6007 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1843, allocations: 29.7 kB / 0.6007 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.1844, allocations: 88.05 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1844, allocations: 11.91 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.1844, allocations: 0 / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1845, allocations: 318.8 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1847, allocations: 51.91 kB / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1848, allocations: 52.14 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1849, allocations: 48.03 kB / 0.6012 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.185, allocations: 0 / 0.6012 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003482/0.1853, allocations: 133.5 kB / 0.6014 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1853, allocations: 12 kB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1853, allocations: 4 kB / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1854, allocations: 0 / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1855, allocations: 23.97 kB / 0.6014 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1855, allocations: 3.984 kB / 0.6014 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.1856, allocations: 19.94 kB / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1856, allocations: 4 kB / 0.6014 GB, free: 3.449 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.1857, allocations: 121.7 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1857, allocations: 4 kB / 0.6016 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.1861, allocations: 141.5 kB / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1861, allocations: 0 / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1861, allocations: 0 / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1861, allocations: 0 / 0.6017 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1863, allocations: 189.4 kB / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1863, allocations: 0 / 0.6019 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.1864, allocations: 27.98 kB / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1864, allocations: 0 / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1865, allocations: 0 / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1865, allocations: 0 / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1865, allocations: 0 / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.1868, allocations: 231.4 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.1869, allocations: 85.02 kB / 0.6022 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1869, allocations: 7.984 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.187, allocations: 15.98 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1871, allocations: 0 / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1871, allocations: 4 kB / 0.6022 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.1872, allocations: 106.4 kB / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1872, allocations: 0 / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.1874, allocations: 8 kB / 0.6023 GB, free: 2.422 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006673/0.1881, allocations: 0.7708 MB / 0.6031 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.1884, allocations: 99.92 kB / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1884, allocations: 0 / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1886, allocations: 55.95 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1888, allocations: 11.94 kB / 0.6033 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.1893, allocations: 190.2 kB / 0.6034 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1896, allocations: 0.6926 MB / 0.6041 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.1896, allocations: 8.375 kB / 0.6041 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1897, allocations: 15.44 kB / 0.6041 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1897, allocations: 0 / 0.6041 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2811/0.4708, allocations: 1.544 MB / 0.6056 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001167/0.471, allocations: 193.8 kB / 0.6058 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.154, allocations: 3.125 kB / 0.6058 GB, free: 40.12 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: