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/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7614/0.7614, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 180.8 kB / 169.7 MB, free: 1.762 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 404.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.0009839, allocations: 84.94 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 76.75 MB / 0.6282 GB, free: 9.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6085/0.7817, allocations: 102.5 MB / 0.7284 GB, free: 10.84 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.782, allocations: 73.45 kB / 0.7284 GB, free: 10.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003214/0.7852, allocations: 1.081 MB / 0.7295 GB, free: 9.812 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7853, allocations: 0 / 0.7295 GB, free: 9.812 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.7853, allocations: 0 / 0.7295 GB, free: 9.812 MB / 490.7 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.0004695/0.7858, allocations: 374.7 kB / 0.7298 GB, free: 9.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.7858, allocations: 12.03 kB / 0.7298 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.7859, allocations: 38.31 kB / 0.7299 GB, free: 9.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.7859, allocations: 11.86 kB / 0.7299 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.7861, allocations: 171 kB / 0.7301 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.7861, allocations: 0 / 0.7301 GB, free: 9.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.7861, allocations: 4 kB / 0.7301 GB, free: 9.129 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7863, allocations: 53.88 kB / 0.7301 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.7863, allocations: 4 kB / 0.7301 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7863, allocations: 0 / 0.7301 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.7863, allocations: 0 / 0.7301 GB, free: 9.074 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.7864, allocations: 37.44 kB / 0.7302 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.787, allocations: 328.7 kB / 0.7305 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.7871, allocations: 49.62 kB / 0.7305 GB, free: 8.648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.7871, allocations: 20.73 kB / 0.7305 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.7873, allocations: 105.2 kB / 0.7306 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7874, allocations: 34.56 kB / 0.7307 GB, free: 8.469 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 2.585e-06/0.7874, allocations: 0 / 0.7307 GB, free: 8.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.7876, allocations: 78.47 kB / 0.7307 GB, free: 8.398 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.7876, allocations: 51.41 kB / 0.7308 GB, free: 8.336 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.7877, allocations: 116.9 kB / 0.7309 GB, free: 8.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7878, allocations: 25.7 kB / 0.7309 GB, free: 8.191 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.7878, allocations: 90.33 kB / 0.731 GB, free: 8.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.7878, allocations: 3.906 kB / 0.731 GB, free: 8.102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.7878, allocations: 0 / 0.731 GB, free: 8.102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.788, allocations: 325.3 kB / 0.7313 GB, free: 7.781 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.788, allocations: 19.31 kB / 0.7313 GB, free: 7.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.7881, allocations: 19.36 kB / 0.7314 GB, free: 7.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.7881, allocations: 11.81 kB / 0.7314 GB, free: 7.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7881, allocations: 0 / 0.7314 GB, free: 7.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001093/0.7882, allocations: 72.14 kB / 0.7314 GB, free: 7.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7883, allocations: 4 kB / 0.7314 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7883, allocations: 0 / 0.7314 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7883, allocations: 3.562 kB / 0.7315 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.7884, allocations: 31.92 kB / 0.7315 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7885, allocations: 0 / 0.7315 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.7885, allocations: 15.98 kB / 0.7315 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.7886, allocations: 4 kB / 0.7315 GB, free: 7.625 MB / 490.7 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 () * 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 7.816e-05/0.7887, allocations: 110.5 kB / 0.7316 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.7887, allocations: 11.91 kB / 0.7316 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.7889, allocations: 85.25 kB / 0.7317 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7889, allocations: 0 / 0.7317 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7889, allocations: 7.953 kB / 0.7317 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7889, allocations: 0 / 0.7317 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7891, allocations: 181.1 kB / 0.7319 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7891, allocations: 0 / 0.7319 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.7892, allocations: 23.97 kB / 0.7319 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7892, allocations: 4 kB / 0.7319 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.7892, allocations: 0 / 0.7319 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7892, allocations: 0 / 0.7319 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7892, allocations: 4 kB / 0.7319 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.7894, allocations: 173.2 kB / 0.7321 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.7895, allocations: 77.11 kB / 0.7321 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.7895, allocations: 0 / 0.7321 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7896, allocations: 19.98 kB / 0.7322 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.7896, allocations: 7.984 kB / 0.7322 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.7897, allocations: 0 / 0.7322 GB, free: 6.879 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.7897, allocations: 107.1 kB / 0.7323 GB, free: 6.785 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7897, allocations: 0 / 0.7323 GB, free: 6.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002/0.7899, allocations: 19.8 kB / 0.7323 GB, free: 6.766 MB / 490.7 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 () * 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.0004502/0.7904, allocations: 0.7021 MB / 0.733 GB, free: 6.047 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.7905, allocations: 34.05 kB / 0.733 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7905, allocations: 0 / 0.733 GB, free: 6.023 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.7906, allocations: 15.81 kB / 0.733 GB, free: 6.012 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.7907, allocations: 7.312 kB / 0.733 GB, free: 6.008 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.7911, allocations: 133.7 kB / 0.7332 GB, free: 5.848 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.7914, allocations: 0.6965 MB / 0.7338 GB, free: 5.125 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.186e-05/0.7914, allocations: 3.984 kB / 0.7338 GB, free: 5.121 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.7915, allocations: 18.56 kB / 0.7339 GB, free: 5.109 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7915, allocations: 0 / 0.7339 GB, free: 5.109 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.8031, allocations: 1.552 MB / 0.7354 GB, free: 3.668 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/0.8033, allocations: 156.5 kB / 0.7355 GB, free: 3.441 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.275, allocations: 0 / 0.7355 GB, free: 3.441 MB / 490.7 MB (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)