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.001521/0.001521, 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.001667/0.001667, 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001654/0.001654, allocations: 73.81 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2447, 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.002908/0.2477, allocations: 1.476 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003134/0.248, allocations: 124.4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.2481, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.078e-05/0.2482, allocations: 3.938 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.784e-05/0.2482, allocations: 11.88 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2485, allocations: 23.91 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.2486, allocations: 43.91 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2487, allocations: 8 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.2488, allocations: 23.91 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.2488, allocations: 23.91 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.2488, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.2489, allocations: 19.98 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.249, allocations: 11.94 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.249, allocations: 23.86 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.2492, allocations: 60.08 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2492, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2492, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2492, allocations: 3.938 kB / 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.000589/0.2498, allocations: 387.1 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2498, allocations: 8.031 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.2499, allocations: 34.75 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.2499, allocations: 0.9375 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2501, allocations: 172.3 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.2501, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.2501, allocations: 384 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.2504, allocations: 74.22 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2504, allocations: 7.922 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2504, allocations: 8 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2504, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.2507, allocations: 79.84 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.2512, allocations: 296.8 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.2514, allocations: 62.53 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.2516, allocations: 44.91 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.2518, allocations: 109.1 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2519, allocations: 34.56 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.986e-06/0.2519, allocations: 0 / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005824/0.2525, allocations: 149.4 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.2525, allocations: 55.41 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2526, allocations: 128.6 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2527, allocations: 25.7 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.2527, allocations: 92.14 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.2528, allocations: 7.891 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2528, allocations: 17.72 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2529, allocations: 314.8 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2531, allocations: 43.95 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2533, allocations: 35.95 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.2536, allocations: 84.66 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2536, allocations: 4 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003622/0.2539, allocations: 109.5 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.254, allocations: 7.938 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.254, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.254, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2541, allocations: 19.97 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2541, allocations: 0 / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.2542, allocations: 19.98 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.2542, allocations: 0 / 0.7878 GB, free: 8.738 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 7.412e-05/0.2543, allocations: 113.8 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2544, allocations: 11.89 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.2547, allocations: 121.5 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2548, allocations: 4 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2548, allocations: 0 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2548, allocations: 384 / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.255, allocations: 185.6 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.255, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.2551, allocations: 11.98 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2551, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2551, allocations: 7.984 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2551, allocations: 0 / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2551, allocations: 7.969 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.2555, allocations: 207.4 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2555, allocations: 89 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2556, allocations: 0 / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2557, allocations: 11.98 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.2557, allocations: 8 kB / 0.7885 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2557, allocations: 4 kB / 0.7885 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.2558, allocations: 99.25 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2558, allocations: 4 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002463/0.2561, allocations: 19.94 kB / 0.7886 GB, free: 7.742 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.0007297/0.2568, allocations: 0.7435 MB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.2572, allocations: 75.92 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2572, allocations: 0 / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2573, allocations: 47.95 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.2576, allocations: 8.719 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.2581, allocations: 187 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2584, allocations: 0.6846 MB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.2585, allocations: 7.938 kB / 0.7903 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.2585, allocations: 23.42 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2585, allocations: 0 / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2756, allocations: 1.857 MB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/7.824, allocations: 9.109 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)