Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_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.001084/0.001084, allocations: 101.6 kB / 16.27 MB, free: 5.93 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.001182/0.001183, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7615/0.7615, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 64.14 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.364, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.002433/0.3665, allocations: 1.483 MB / 0.5687 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.3668, allocations: 110.2 kB / 0.5688 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.3668, allocations: 1 kB / 0.5688 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3669, allocations: 5.828 kB / 0.5688 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.3669, allocations: 6.969 kB / 0.5688 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3672, allocations: 25.47 kB / 0.5689 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.3672, allocations: 39.7 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.3673, allocations: 7.5 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.3674, allocations: 27.2 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.3674, allocations: 18.66 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3675, allocations: 3.344 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.3675, allocations: 24.23 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.3676, allocations: 15.55 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3676, allocations: 21.33 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3678, allocations: 56.62 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3678, allocations: 1.156 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3678, allocations: 3.938 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3678, allocations: 1.031 kB / 0.5691 GB, free: 31.44 MB / 446.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.000459/0.3683, allocations: 380.6 kB / 0.5694 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3683, allocations: 10.95 kB / 0.5695 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.675e-05/0.3683, allocations: 37.86 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3684, allocations: 3.219 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.3685, allocations: 175 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3685, allocations: 3.25 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3685, allocations: 1.5 kB / 0.5697 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3687, allocations: 73.08 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3688, allocations: 5.562 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3688, allocations: 1.5 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3688, allocations: 1.094 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.3691, allocations: 80.91 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.3694, allocations: 286.8 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.3696, allocations: 65.17 kB / 0.5702 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3698, allocations: 50.34 kB / 0.5702 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.37, allocations: 108.1 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.37, allocations: 34 kB / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.37, allocations: 0 / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005514/0.3706, allocations: 153.2 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.3706, allocations: 51.94 kB / 0.5705 GB, free: 30.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.3707, allocations: 126.7 kB / 0.5707 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.3707, allocations: 25.7 kB / 0.5707 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.3707, allocations: 93.64 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.3708, allocations: 6.109 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3708, allocations: 18.62 kB / 0.5708 GB, free: 29.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.3708, allocations: 314.5 kB / 0.5711 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.371, allocations: 41.38 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3712, allocations: 36.89 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3714, allocations: 85.67 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3714, allocations: 0 / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003146/0.3718, allocations: 113.6 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3718, allocations: 6.828 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3718, allocations: 0 / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3718, allocations: 6.844 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3719, allocations: 14.91 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3719, allocations: 5.812 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.372, allocations: 15.67 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.372, allocations: 5.203 kB / 0.5714 GB, free: 29.51 MB / 446.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 5.491e-05/0.3721, allocations: 119.5 kB / 0.5715 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3721, allocations: 10.31 kB / 0.5715 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.3725, allocations: 120.7 kB / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3725, allocations: 0 / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3725, allocations: 2.734 kB / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3725, allocations: 0 / 0.5716 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3727, allocations: 184.4 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3727, allocations: 0.6562 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.3728, allocations: 15.42 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3728, allocations: 1.875 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3728, allocations: 2.562 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3728, allocations: 1.125 kB / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3728, allocations: 0 / 0.5718 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.3732, allocations: 210.9 kB / 0.572 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.3732, allocations: 83.47 kB / 0.5721 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3732, allocations: 1.594 kB / 0.5721 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3733, allocations: 13.78 kB / 0.5721 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3734, allocations: 8.141 kB / 0.5721 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3734, allocations: 1 kB / 0.5722 GB, free: 28.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.3734, allocations: 100.5 kB / 0.5722 GB, free: 28.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3734, allocations: 0.5625 kB / 0.5722 GB, free: 28.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.3737, allocations: 12.5 kB / 0.5723 GB, free: 28.79 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 (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.0005379/0.3742, allocations: 0.7547 MB / 0.573 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3746, allocations: 83.61 kB / 0.5731 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3746, allocations: 1.188 kB / 0.5731 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3747, allocations: 41.27 kB / 0.5731 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.375, allocations: 4.203 kB / 0.5731 GB, free: 28.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.3755, allocations: 183.4 kB / 0.5733 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.3756, allocations: 0.69 MB / 0.574 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.818e-05/0.3756, allocations: 6.859 kB / 0.574 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3757, allocations: 19.17 kB / 0.574 GB, free: 27.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3757, allocations: 2.188 kB / 0.574 GB, free: 27.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.3944, allocations: 1.829 MB / 0.5758 GB, free: 26.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/7.642, allocations: 16.47 kB / 0.5758 GB, free: 26.86 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)