Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.803/2.803, allocations: 287.5 MB / 302.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009382/0.0009379, allocations: 87.17 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007374/0.0007377, allocations: 17.5 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.234, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001681/0.2357, allocations: 1.195 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002863/0.236, allocations: 104.6 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.2361, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2361, allocations: 3.984 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.2362, allocations: 7.938 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.2364, allocations: 19.92 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.2364, allocations: 39.86 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.2365, allocations: 7.984 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.2366, allocations: 19.92 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.2367, allocations: 23.91 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.2367, allocations: 0 / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.802e-05/0.2368, allocations: 15.98 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.2368, allocations: 7.984 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2368, allocations: 37.64 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.972e-05/0.2369, allocations: 36.22 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.237, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.237, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.237, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 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.0005143/0.2375, allocations: 387.1 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2376, allocations: 12.02 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.2376, allocations: 30.56 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.2376, allocations: 7.906 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.2377, allocations: 175 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2377, allocations: 8 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2378, allocations: 3.938 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.2381, allocations: 85.64 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2381, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2382, allocations: 4 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2382, allocations: 4 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.2387, allocations: 95.92 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.239, allocations: 292.8 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.2394, allocations: 82.47 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.2396, allocations: 48.92 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.2399, allocations: 109.1 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2399, allocations: 34.56 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.2399, allocations: 0 / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000872/0.2408, allocations: 173.6 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.2409, allocations: 55.34 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.241, allocations: 138.8 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.241, allocations: 33.58 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.241, allocations: 92.03 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2411, allocations: 11.91 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.2411, allocations: 0 / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.2411, allocations: 310.8 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.2414, allocations: 55.95 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2417, allocations: 47.95 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.2419, allocations: 47.97 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2419, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005474/0.2425, allocations: 133.5 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2425, allocations: 4 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2425, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2426, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.2428, allocations: 31.92 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2428, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2429, allocations: 19.94 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.243, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 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 7.79e-05/0.243, allocations: 119.1 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.2431, allocations: 8 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.2437, allocations: 145.7 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2437, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2437, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2437, allocations: 3.984 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.2439, allocations: 177.6 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2439, allocations: 0 / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2441, allocations: 27.97 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2441, allocations: 3.938 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2441, allocations: 4 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2441, allocations: 0 / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2442, allocations: 4 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.2448, allocations: 231.4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.2448, allocations: 81.02 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2448, allocations: 0 / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.245, allocations: 19.98 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2451, allocations: 7.984 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2451, allocations: 0 / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.2452, allocations: 108.3 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2452, allocations: 0 / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003283/0.2455, allocations: 11.94 kB / 0.9833 GB, free: 22.96 MB / 0.6198 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.000815/0.2463, allocations: 0.7669 MB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005758/0.2469, allocations: 107.8 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2469, allocations: 0 / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.2472, allocations: 51.91 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2475, allocations: 17.55 kB / 0.9842 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.249, allocations: 183.5 kB / 0.9843 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.2494, allocations: 0.6887 MB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.2496, allocations: 0 / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.2497, allocations: 27.42 kB / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of SimCode: time 1.353e-06/0.2497, allocations: 0 / 0.985 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.2696, allocations: 1.523 MB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.2699, allocations: 190 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/2.849, allocations: 4 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)