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.001021/0.001021, allocations: 86.72 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.001211/0.001211, 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.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.746/1.746, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005391/0.0005391, allocations: 15.72 kB / 0.6738 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001775/0.2684, allocations: 1.148 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.2686, allocations: 92.67 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.2687, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.2687, allocations: 3.938 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.2688, allocations: 8 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.2689, allocations: 15.97 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.269, allocations: 19.94 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.2691, allocations: 7.984 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.2692, allocations: 7.938 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.2692, allocations: 19.86 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2693, allocations: 0 / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.2693, allocations: 11.98 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.2693, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.2694, allocations: 33.7 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.056e-05/0.2695, allocations: 19.95 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2695, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2695, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2695, allocations: 0 / 0.7888 GB, free: 10.41 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.0004621/0.27, allocations: 343.5 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.27, allocations: 8.031 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.2701, allocations: 42.55 kB / 0.7891 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.2702, allocations: 19.98 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2704, allocations: 170.9 kB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.2704, allocations: 7.938 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2704, allocations: 0 / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.2706, allocations: 65.66 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2706, allocations: 0 / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2706, allocations: 4 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2707, allocations: 3.984 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.2709, allocations: 63.95 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.2713, allocations: 264.9 kB / 0.7897 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.2715, allocations: 66.48 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.2716, allocations: 36.89 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.2716, allocations: 0 / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2717, allocations: 30.56 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2717, allocations: 4 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004066/0.2721, allocations: 125.7 kB / 0.79 GB, free: 9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2721, allocations: 55.34 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.835e-05/0.2722, allocations: 105.8 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2723, allocations: 25.7 kB / 0.7901 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.2723, allocations: 88.14 kB / 0.7902 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2723, allocations: 7.844 kB / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.2724, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2725, allocations: 314.8 kB / 0.7905 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2726, allocations: 35.97 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2728, allocations: 31.97 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2729, allocations: 32.05 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2729, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002308/0.2732, allocations: 97.64 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2732, allocations: 4 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2732, allocations: 4 kB / 0.7907 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2732, allocations: 3.938 kB / 0.7907 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2734, allocations: 15.92 kB / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2734, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.2734, allocations: 20.02 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2735, allocations: 0 / 0.7908 GB, free: 8.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.2735, allocations: 109.8 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2736, allocations: 7.906 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.2736, allocations: 7.531 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2736, allocations: 3.938 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2736, allocations: 0 / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2736, allocations: 0 / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2738, allocations: 169.6 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2738, allocations: 0 / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.2739, allocations: 15.98 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2739, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2739, allocations: 4.234 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2739, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2739, allocations: 4 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.2742, allocations: 195.4 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.2743, allocations: 81.11 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2743, allocations: 4.016 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.2744, allocations: 12 kB / 0.7914 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.2744, allocations: 3.984 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2744, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.2745, allocations: 83.28 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2745, allocations: 4 kB / 0.7914 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002076/0.2747, allocations: 7.906 kB / 0.7914 GB, free: 7.332 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 (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.0006207/0.2753, allocations: 0.7242 MB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.2756, allocations: 67.88 kB / 0.7922 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2756, allocations: 8.062 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.2757, allocations: 23.98 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.276, allocations: 8 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.2764, allocations: 162.4 kB / 0.7924 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2767, allocations: 0.6809 MB / 0.7931 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.2767, allocations: 3.938 kB / 0.7931 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.2768, allocations: 11.44 kB / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2768, allocations: 0 / 0.7931 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.2899, allocations: 1.189 MB / 0.7943 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.2901, allocations: 179.6 kB / 0.7944 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.107, allocations: 64 / 0.7944 GB, free: 4.258 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: