Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",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.001054/0.001054, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 187.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 67.02 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003593/0.2676, allocations: 1.492 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004303/0.268, allocations: 104.5 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.2681, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.859e-05/0.2682, allocations: 11.86 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.2683, allocations: 7.922 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.2685, allocations: 23.97 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.2686, allocations: 39.86 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.2687, allocations: 15.98 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.2688, allocations: 19.92 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.2688, allocations: 19.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2689, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.269, allocations: 19.98 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.269, allocations: 19.91 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.2691, allocations: 19.88 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.2692, allocations: 56.08 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2692, allocations: 3.938 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2692, allocations: 4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2692, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 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.0005481/0.2698, allocations: 383.1 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2698, allocations: 12.03 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.2699, allocations: 34.73 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.2699, allocations: 4.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2701, allocations: 176.3 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2701, allocations: 384 / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.2701, allocations: 4.375 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2703, allocations: 78.2 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2704, allocations: 3.938 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2704, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2704, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2707, allocations: 79.86 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.271, allocations: 292.7 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.2712, allocations: 66.53 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2714, allocations: 36.92 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/0.2717, allocations: 117.1 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2717, allocations: 30.56 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2717, allocations: 0 / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005275/0.2722, allocations: 149.4 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2723, allocations: 55.39 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2724, allocations: 126.7 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2724, allocations: 25.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.2725, allocations: 92.12 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.2725, allocations: 7.906 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.2725, allocations: 13.72 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2727, allocations: 326.8 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2728, allocations: 31.97 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.2729, allocations: 35.95 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.2732, allocations: 88.94 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.2732, allocations: 0 / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.2735, allocations: 121.4 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2736, allocations: 4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2736, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2736, allocations: 4 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2737, allocations: 15.98 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2737, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.2738, allocations: 11.98 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2738, allocations: 4 kB / 0.7878 GB, free: 8.742 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.999e-05/0.2739, allocations: 121.8 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.274, allocations: 11.84 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.2743, allocations: 121.5 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2744, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2744, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2744, allocations: 3.984 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2746, allocations: 181.6 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2746, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.2747, allocations: 19.97 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2747, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2747, allocations: 4 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2747, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2747, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.2751, allocations: 211.3 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.2751, allocations: 81.02 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2752, allocations: 4 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.2753, allocations: 11.98 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2754, allocations: 3.984 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2754, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.2754, allocations: 100.9 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2755, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000245/0.2757, allocations: 15.94 kB / 0.7886 GB, free: 7.758 MB / 0.6075 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 (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.0007182/0.2764, allocations: 0.7435 MB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.2768, allocations: 87.84 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2768, allocations: 0 / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.277, allocations: 35.97 kB / 0.7895 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.2772, allocations: 18.88 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.2777, allocations: 183 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2782, allocations: 0.6885 MB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.2782, allocations: 3.984 kB / 0.7903 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.2783, allocations: 19.38 kB / 0.7903 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2783, allocations: 4 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2967, allocations: 1.869 MB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.319, allocations: 8.234 kB / 0.7922 GB, free: 4.098 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)