Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.823/0.823, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 179.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009975, allocations: 88.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001857/0.001858, allocations: 286 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 5.248e-05/5.254e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4601, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.608, allocations: 107.2 MB / 0.8621 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.6083, allocations: 79.92 kB / 0.8622 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001414/0.6098, allocations: 483.5 kB / 0.8627 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6098, allocations: 0 / 0.8627 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.6098, allocations: 0 / 0.8627 GB, free: 4.035 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002951/0.6101, allocations: 314.6 kB / 0.863 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.6102, allocations: 12.03 kB / 0.863 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.6102, allocations: 3.938 kB / 0.863 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6104, allocations: 163.1 kB / 0.8631 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6104, allocations: 3.953 kB / 0.8631 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.6104, allocations: 0 / 0.8631 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.1e-05/0.6105, allocations: 0 / 0.8631 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.616e-05/0.6105, allocations: 29.7 kB / 0.8632 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6106, allocations: 4 kB / 0.8632 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6106, allocations: 4 kB / 0.8632 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6106, allocations: 0 / 0.8632 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.6107, allocations: 122.2 kB / 0.8633 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.257e-05/0.6108, allocations: 26.55 kB / 0.8633 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.6108, allocations: 8.844 kB / 0.8633 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.6109, allocations: 4.062 kB / 0.8633 GB, free: 3.215 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.6109, allocations: 34.52 kB / 0.8634 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.6109, allocations: 4 kB / 0.8634 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001971/0.6111, allocations: 29.7 kB / 0.8634 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.6112, allocations: 51.41 kB / 0.8635 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.485e-05/0.6112, allocations: 85 kB / 0.8635 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.6112, allocations: 25.7 kB / 0.8636 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.6113, allocations: 80.14 kB / 0.8636 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.6113, allocations: 0 / 0.8636 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.6113, allocations: 4 kB / 0.8636 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6114, allocations: 322.9 kB / 0.8639 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.6115, allocations: 3.938 kB / 0.8639 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.6115, allocations: 0 / 0.8639 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.939e-05/0.6115, allocations: 4 kB / 0.864 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6115, allocations: 3.938 kB / 0.864 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.543e-05/0.6116, allocations: 29.7 kB / 0.864 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.6116, allocations: 4 kB / 0.864 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6117, allocations: 4 kB / 0.864 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6117, allocations: 3.953 kB / 0.864 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.6117, allocations: 8.078 kB / 0.864 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6117, allocations: 0 / 0.864 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.6118, allocations: 3.938 kB / 0.864 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.6118, allocations: 4 kB / 0.864 GB, free: 2.465 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.272e-05/0.6119, allocations: 101 kB / 0.8641 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.52e-05/0.6119, allocations: 37.64 kB / 0.8641 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.612, allocations: 7.859 kB / 0.8642 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.6121, allocations: 45.47 kB / 0.8642 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.6121, allocations: 0 / 0.8642 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6121, allocations: 0 / 0.8642 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6121, allocations: 4 kB / 0.8642 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.6122, allocations: 134.2 kB / 0.8643 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6122, allocations: 0 / 0.8643 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.6123, allocations: 0 / 0.8643 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6123, allocations: 0 / 0.8643 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.6123, allocations: 4 kB / 0.8643 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6123, allocations: 7.984 kB / 0.8643 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6123, allocations: 0 / 0.8643 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.6124, allocations: 61.06 kB / 0.8644 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.6125, allocations: 85.09 kB / 0.8645 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.6125, allocations: 0 / 0.8645 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.6125, allocations: 0 / 0.8645 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.6125, allocations: 3.953 kB / 0.8645 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.6125, allocations: 32 / 0.8645 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.6126, allocations: 83.28 kB / 0.8646 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6126, allocations: 0 / 0.8646 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001792/0.6127, allocations: 4 kB / 0.8646 GB, free: 1.805 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000416/0.6132, allocations: 0.5968 MB / 0.8651 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.389e-05/0.6132, allocations: 8.031 kB / 0.8652 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6133, allocations: 3.938 kB / 0.8652 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.6133, allocations: 3.984 kB / 0.8652 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.6134, allocations: 4.984 kB / 0.8652 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.6136, allocations: 77.67 kB / 0.8652 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.6139, allocations: 0.6729 MB / 0.8659 GB, free: 356 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.6139, allocations: 8.125 kB / 0.8659 GB, free: 348 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.614, allocations: 7.438 kB / 0.8659 GB, free: 340 kB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.614, allocations: 0 / 0.8659 GB, free: 340 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.6336, allocations: 0.5433 MB / 0.8664 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6339, allocations: 158.9 kB / 0.8666 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.258, allocations: 1.125 kB / 0.8666 GB, free: 15.61 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)