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.001249/0.001249, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001204/0.001204, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.781/1.781, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005325/0.0005327, allocations: 23.84 kB / 0.6738 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.266, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001714/0.2677, allocations: 1.199 MB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002932/0.2681, allocations: 108.6 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.2681, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.2681, allocations: 0 / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.2682, allocations: 11.92 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2684, allocations: 23.92 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.2685, allocations: 35.91 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.2686, allocations: 15.98 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.2686, allocations: 15.92 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.2687, allocations: 19.92 kB / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.2687, allocations: 0 / 0.7888 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.909e-05/0.2688, allocations: 19.97 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.2688, allocations: 7.938 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.2688, allocations: 33.7 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.548e-05/0.2689, allocations: 36.2 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.269, allocations: 3.938 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.269, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.269, allocations: 8 kB / 0.7889 GB, free: 10.29 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.000519/0.2695, allocations: 383.1 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2695, allocations: 8.031 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.2696, allocations: 38.5 kB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.2696, allocations: 3.906 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2698, allocations: 179 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2698, allocations: 4 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2698, allocations: 4 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.27, allocations: 81.66 kB / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2701, allocations: 0 / 0.7896 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2701, allocations: 4 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2701, allocations: 0 / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.2704, allocations: 99.91 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.2707, allocations: 292.7 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.271, allocations: 78.53 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2711, allocations: 52.91 kB / 0.7901 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.2714, allocations: 113.1 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2714, allocations: 30.56 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.2714, allocations: 0 / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005143/0.2719, allocations: 181.5 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.272, allocations: 55.41 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.2721, allocations: 129.6 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2721, allocations: 25.7 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2721, allocations: 96.05 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2722, allocations: 7.891 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.2722, allocations: 0 / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.2723, allocations: 322.8 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2724, allocations: 47.95 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2725, allocations: 43.97 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.2727, allocations: 51.95 kB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2727, allocations: 0 / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000299/0.273, allocations: 141.5 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.273, allocations: 4 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.273, allocations: 3.938 kB / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.273, allocations: 0 / 0.7913 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2732, allocations: 23.98 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2732, allocations: 4 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.2732, allocations: 15.98 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.2733, allocations: 4.328 kB / 0.7913 GB, free: 7.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.522e-05/0.2733, allocations: 125.8 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.2734, allocations: 0 / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.2737, allocations: 149.3 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2737, allocations: 0 / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2738, allocations: 0 / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2738, allocations: 0 / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2739, allocations: 185.6 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2739, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.274, allocations: 27.91 kB / 0.7918 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.274, allocations: 4 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2741, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2741, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2741, allocations: 0 / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.2744, allocations: 231.4 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.2745, allocations: 81.02 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2745, allocations: 0 / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2746, allocations: 19.98 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2746, allocations: 11.92 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2747, allocations: 0 / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.825e-05/0.2747, allocations: 99.27 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2747, allocations: 0 / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.275, allocations: 11.94 kB / 0.7922 GB, free: 6.535 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 (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.0006491/0.2756, allocations: 0.767 MB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.276, allocations: 107.8 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.276, allocations: 0 / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2761, allocations: 47.97 kB / 0.7931 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.2764, allocations: 14.95 kB / 0.7931 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.2768, allocations: 194.2 kB / 0.7933 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2771, allocations: 0.6887 MB / 0.794 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.2772, allocations: 4 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.2772, allocations: 23.42 kB / 0.794 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.2772, allocations: 0 / 0.794 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.289, allocations: 1.535 MB / 0.7955 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.2892, allocations: 187.7 kB / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.154, allocations: 4 kB / 0.7957 GB, free: 2.953 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/linux/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) Environment - environmentSimulation: