Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized",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.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 152 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.001592/0.001592, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.512/1.512, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001433/0.001433, allocations: 75.3 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2442, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002991/0.2472, allocations: 1.434 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.2476, allocations: 92.62 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.2477, allocations: 3.938 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.2478, allocations: 0 / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.2478, allocations: 7.938 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2481, allocations: 11.98 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.2482, allocations: 27.86 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2483, allocations: 8 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.2483, allocations: 7.984 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.2484, allocations: 19.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2484, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.2485, allocations: 15.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.2485, allocations: 7.984 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2485, allocations: 7.938 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2487, allocations: 27.91 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2487, allocations: 3.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2487, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.2487, allocations: 0 / 0.7851 GB, free: 11.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005094/0.2492, allocations: 355.7 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2493, allocations: 8.031 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.2493, allocations: 34.69 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2495, allocations: 20.83 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2497, allocations: 164.4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2497, allocations: 384 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2497, allocations: 384 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.25, allocations: 58.22 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.25, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.25, allocations: 4 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.25, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.2503, allocations: 47.95 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2508, allocations: 264.9 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.251, allocations: 62.47 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2511, allocations: 32.89 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2511, allocations: 0 / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2511, allocations: 30.56 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2512, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004553/0.2516, allocations: 113.5 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2517, allocations: 51.41 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.2518, allocations: 109.8 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2518, allocations: 25.7 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.2518, allocations: 80.14 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.2519, allocations: 15.84 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.2519, allocations: 13.84 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.252, allocations: 318.8 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.2521, allocations: 19.98 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.2522, allocations: 23.97 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2524, allocations: 56.88 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2524, allocations: 3.938 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00024/0.2527, allocations: 81.58 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2527, allocations: 8 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2527, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2527, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2529, allocations: 16.02 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2529, allocations: 0 / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.2529, allocations: 7.984 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.253, allocations: 0 / 0.787 GB, free: 9.469 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 (2): * Single equations (assignments): 2 * 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.357e-05/0.253, allocations: 113.8 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2531, allocations: 3.938 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.2531, allocations: 7.531 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2531, allocations: 4 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2531, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2531, allocations: 4 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2533, allocations: 161.6 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2533, allocations: 4 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.478e-05/0.2534, allocations: 11.92 kB / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2534, allocations: 0 / 0.7873 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2534, allocations: 8 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2534, allocations: 0 / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2534, allocations: 3.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.2537, allocations: 183.3 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.2537, allocations: 77.11 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2538, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.2539, allocations: 7.984 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.2539, allocations: 8.234 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2539, allocations: 0 / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.254, allocations: 91.31 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.254, allocations: 0 / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002135/0.2542, allocations: 4 kB / 0.7877 GB, free: 8.691 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 (2): * Single equations (assignments): 2 * 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.000564/0.2548, allocations: 0.7163 MB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.255, allocations: 47.95 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.255, allocations: 0 / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2551, allocations: 27.97 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2555, allocations: 0.7812 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.256, allocations: 161.8 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.2563, allocations: 0.6807 MB / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.2563, allocations: 0 / 0.7893 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.2564, allocations: 11.44 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2564, allocations: 4 kB / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.2756, allocations: 1.422 MB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.304, allocations: 7.938 kB / 0.7907 GB, free: 5.598 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)