Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.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.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",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.0008195/0.0008195, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005809/0.005809, allocations: 171.3 kB / 16.27 MB, free: 6.648 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.691/1.691, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.674/1.674, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005311/0.0005311, allocations: 22.73 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2458, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001607/0.2474, allocations: 1.16 MB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.2478, allocations: 100.6 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.2478, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.413e-05/0.2479, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.248, allocations: 3.938 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.2482, allocations: 15.98 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.2483, allocations: 27.86 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.2484, allocations: 8 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2484, allocations: 11.98 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.2485, allocations: 3.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.2485, allocations: 4 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.2486, allocations: 19.97 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.2486, allocations: 4 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2487, allocations: 37.62 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2488, allocations: 27.89 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2488, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2488, allocations: 4 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.2488, allocations: 4 kB / 0.7894 GB, free: 10.02 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.0004362/0.2493, allocations: 351.7 kB / 0.7897 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2493, allocations: 8.031 kB / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.2494, allocations: 38.67 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.069e-05/0.2494, allocations: 4.938 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2495, allocations: 164.3 kB / 0.7899 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2495, allocations: 8.375 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.2495, allocations: 4.375 kB / 0.7899 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2497, allocations: 54.23 kB / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2498, allocations: 3.938 kB / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.2498, allocations: 0 / 0.79 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2498, allocations: 4 kB / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.25, allocations: 51.89 kB / 0.7901 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.2503, allocations: 249 kB / 0.7903 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.2504, allocations: 50.5 kB / 0.7903 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.2505, allocations: 28.91 kB / 0.7904 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.2506, allocations: 7.984 kB / 0.7904 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2506, allocations: 30.56 kB / 0.7904 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2506, allocations: 3.938 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003989/0.251, allocations: 109.6 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2511, allocations: 51.41 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.2512, allocations: 110 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2512, allocations: 25.7 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.2513, allocations: 84.14 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2513, allocations: 11.84 kB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.2513, allocations: 9.719 kB / 0.7908 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2514, allocations: 314.8 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.2515, allocations: 27.97 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.2516, allocations: 23.98 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2518, allocations: 56.88 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2518, allocations: 3.938 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.252, allocations: 81.52 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.252, allocations: 4 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2521, allocations: 3.984 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2521, allocations: 4.031 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.671e-05/0.2522, allocations: 8 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2522, allocations: 4 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.2522, allocations: 11.98 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.2522, allocations: 0 / 0.7913 GB, free: 7.816 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 6.914e-05/0.2523, allocations: 113.8 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.2523, allocations: 256 / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2526, allocations: 101.1 kB / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2526, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2526, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2526, allocations: 0 / 0.7915 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2528, allocations: 169.5 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2528, allocations: 8.016 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.2529, allocations: 8 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2529, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2529, allocations: 0 / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2529, allocations: 4 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2529, allocations: 0 / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2531, allocations: 187.4 kB / 0.7919 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.2532, allocations: 84.95 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2532, allocations: 3.938 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.2533, allocations: 8 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.2533, allocations: 8.016 kB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2533, allocations: 0 / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.2534, allocations: 87.28 kB / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2534, allocations: 0 / 0.7921 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002185/0.2536, allocations: 8 kB / 0.7921 GB, free: 6.938 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.0005899/0.2542, allocations: 0.7124 MB / 0.7928 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2545, allocations: 55.94 kB / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2545, allocations: 0 / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.2546, allocations: 27.97 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2548, allocations: 4 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.2553, allocations: 150.5 kB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.2556, allocations: 0.6808 MB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.2556, allocations: 0 / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2557, allocations: 19.42 kB / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.2557, allocations: 0 / 0.7937 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.2663, allocations: 1.169 MB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.2665, allocations: 187 kB / 0.795 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.905, allocations: 3.938 kB / 0.795 GB, free: 3.891 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)