Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.8903/0.8903, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001569/0.001569, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.62/1.62, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001211/0.001211, allocations: 87.84 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002356/0.002356, allocations: 280.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.817e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6077, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.7835, allocations: 107.9 MB / 0.8628 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.7839, allocations: 71.95 kB / 0.8629 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002995/0.7869, allocations: 0.7805 MB / 0.8637 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7869, allocations: 0 / 0.8637 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.7869, allocations: 0 / 0.8637 GB, free: 3.016 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004859/0.7874, allocations: 338.5 kB / 0.864 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.7875, allocations: 8.031 kB / 0.864 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.7876, allocations: 11.91 kB / 0.864 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.7878, allocations: 159.1 kB / 0.8642 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.7878, allocations: 11.94 kB / 0.8642 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7878, allocations: 0 / 0.8642 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001065/0.7879, allocations: 15.94 kB / 0.8642 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.788, allocations: 45.67 kB / 0.8642 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7881, allocations: 0 / 0.8642 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7881, allocations: 3.938 kB / 0.8642 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7881, allocations: 4 kB / 0.8642 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.7887, allocations: 249.5 kB / 0.8645 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.7888, allocations: 26.58 kB / 0.8645 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.7889, allocations: 12.92 kB / 0.8645 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.7889, allocations: 7.984 kB / 0.8645 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.789, allocations: 38.5 kB / 0.8646 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.789, allocations: 0 / 0.8646 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002611/0.7893, allocations: 41.7 kB / 0.8646 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.7893, allocations: 51.41 kB / 0.8646 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.7894, allocations: 101 kB / 0.8647 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.7894, allocations: 25.7 kB / 0.8648 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.7895, allocations: 84.14 kB / 0.8648 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.7895, allocations: 11.84 kB / 0.8649 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.7896, allocations: 4.031 kB / 0.8649 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7897, allocations: 314.8 kB / 0.8652 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.7898, allocations: 8 kB / 0.8652 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.684e-05/0.7898, allocations: 4 kB / 0.8652 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.7899, allocations: 11.94 kB / 0.8652 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7899, allocations: 0 / 0.8652 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/0.79, allocations: 57.48 kB / 0.8652 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.79, allocations: 8 kB / 0.8653 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7901, allocations: 96 / 0.8653 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.7901, allocations: 4 kB / 0.8653 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.7902, allocations: 11.98 kB / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.7902, allocations: 0 / 0.8653 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.7903, allocations: 11.98 kB / 0.8653 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.7903, allocations: 0 / 0.8653 GB, free: 1.168 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 (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 9.757e-05/0.7904, allocations: 101 kB / 0.8654 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001372/0.7905, allocations: 53.64 kB / 0.8654 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.7906, allocations: 4 kB / 0.8654 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.7907, allocations: 57.59 kB / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.7908, allocations: 0 / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7908, allocations: 0 / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7908, allocations: 0 / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.791, allocations: 146.2 kB / 0.8656 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.791, allocations: 3.953 kB / 0.8656 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.791, allocations: 11.98 kB / 0.8656 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.7911, allocations: 4.062 kB / 0.8656 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7911, allocations: 0 / 0.8656 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.7911, allocations: 4 kB / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7911, allocations: 0 / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.7913, allocations: 147.3 kB / 0.8658 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.7914, allocations: 81.06 kB / 0.8659 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7914, allocations: 256 / 0.8659 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.7915, allocations: 20.02 kB / 0.8659 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.7915, allocations: 0 / 0.8659 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.7915, allocations: 8 kB / 0.8659 GB, free: 456 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.7916, allocations: 83.27 kB / 0.866 GB, free: 372 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7916, allocations: 0 / 0.866 GB, free: 372 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000226/0.7918, allocations: 12 kB / 0.866 GB, free: 360 kB / 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 (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.0007249/0.7926, allocations: 0.6773 MB / 0.8666 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.7927, allocations: 23.88 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7927, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.7927, allocations: 12 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.793, allocations: 3.984 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.7934, allocations: 105.6 kB / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.7938, allocations: 0.6807 MB / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.7938, allocations: 0 / 0.8674 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.7939, allocations: 11.42 kB / 0.8675 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.7939, allocations: 0 / 0.8675 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03617/0.83, allocations: 0.8507 MB / 0.8683 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/0.8304, allocations: 140.1 kB / 0.8684 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.623, allocations: 4 kB / 0.8684 GB, free: 13.72 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)