Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.682/1.682, allocations: 288.2 MB / 303.2 MB, free: 8.242 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.001421/0.001421, allocations: 189.6 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0009144/0.0009143, allocations: 91.36 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005653, allocations: 11.78 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3052, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001943/0.3072, allocations: 1.184 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.3076, allocations: 120.5 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.3076, allocations: 0 / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3077, allocations: 0 / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.3077, allocations: 7.984 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.308, allocations: 23.97 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.3081, allocations: 27.91 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3082, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.3082, allocations: 15.98 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.3083, allocations: 19.91 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3083, allocations: 7.938 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.641e-05/0.3084, allocations: 15.98 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.3085, allocations: 11.97 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.3085, allocations: 33.64 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.3086, allocations: 44.22 kB / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3086, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3087, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3087, allocations: 0 / 0.9809 GB, free: 26.09 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.0006239/0.3093, allocations: 375.1 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.3094, allocations: 20.02 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3094, allocations: 30.56 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3095, allocations: 11.89 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3096, allocations: 168.3 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3096, allocations: 0 / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3096, allocations: 4 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.31, allocations: 89.64 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.31, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.31, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3101, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.3105, allocations: 99.86 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.3109, allocations: 296.7 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3112, allocations: 78.53 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3114, allocations: 105.2 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3115, allocations: 42.42 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.3115, allocations: 8 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007792/0.3123, allocations: 177.6 kB / 0.9824 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.3123, allocations: 51.41 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.3124, allocations: 123.8 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3124, allocations: 25.7 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.3125, allocations: 104 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.3125, allocations: 3.906 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.3125, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.3126, allocations: 326.8 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.3128, allocations: 39.97 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.313, allocations: 51.95 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3133, allocations: 47.97 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3133, allocations: 3.938 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004787/0.3138, allocations: 137.5 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3138, allocations: 4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3138, allocations: 0 / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3138, allocations: 0 / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.314, allocations: 23.97 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.314, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3141, allocations: 19.98 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3142, allocations: 4 kB / 0.9833 GB, free: 23.43 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 8.022e-05/0.3143, allocations: 117.8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3143, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.3148, allocations: 149.3 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3149, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3149, allocations: 4 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3149, allocations: 4 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3151, allocations: 181.6 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3151, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3152, allocations: 19.98 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3153, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3153, allocations: 4 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3153, allocations: 3.938 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3153, allocations: 0 / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.3158, allocations: 235.4 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.3158, allocations: 85.02 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3159, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.316, allocations: 19.97 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3161, allocations: 4 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3161, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.3162, allocations: 103.3 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3162, allocations: 3.938 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003857/0.3166, allocations: 19.92 kB / 0.9842 GB, free: 22.39 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.0007275/0.3173, allocations: 0.7635 MB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004782/0.3178, allocations: 103.9 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3178, allocations: 0 / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.3181, allocations: 59.95 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3183, allocations: 0 / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.3189, allocations: 198.3 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.3191, allocations: 0.6887 MB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.3191, allocations: 0 / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3192, allocations: 19.42 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.3192, allocations: 0 / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.3344, allocations: 1.551 MB / 0.9875 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.3347, allocations: 193.7 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.871, allocations: 3.938 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)