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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001126/0.001126, allocations: 193.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 282.4 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8529/0.8529, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 94.36 kB / 0.5948 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 86.98 MB / 0.6797 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002017/0.119, allocations: 1.491 MB / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002122/0.1192, allocations: 88.59 kB / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.016e-05/0.1192, allocations: 0 / 0.6813 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.1193, allocations: 9.828 kB / 0.6813 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.313e-05/0.1193, allocations: 7.922 kB / 0.6813 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1195, allocations: 11.94 kB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.511e-05/0.1195, allocations: 27.92 kB / 0.6813 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.1196, allocations: 9.578 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.1196, allocations: 11.94 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.54e-05/0.1196, allocations: 7.984 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1197, allocations: 4.625 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.1197, allocations: 17.39 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.1198, allocations: 11.94 kB / 0.6814 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.1198, allocations: 7.922 kB / 0.6814 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.118e-05/0.1199, allocations: 48.09 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1199, allocations: 0.6562 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1199, allocations: 0 / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1199, allocations: 4 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB 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.0003064/0.1202, allocations: 343.4 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.1202, allocations: 8.031 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.088e-05/0.1203, allocations: 34.75 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.552e-05/0.1203, allocations: 4.938 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.1204, allocations: 168.3 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1204, allocations: 384 / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.1204, allocations: 384 / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1205, allocations: 54.23 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.1205, allocations: 3.938 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-06/0.1205, allocations: 0 / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1206, allocations: 4 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1207, allocations: 39.89 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1209, allocations: 253 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.121, allocations: 46.5 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.1211, allocations: 20.89 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1212, allocations: 4 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.1212, allocations: 34.56 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1212, allocations: 3.938 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002842/0.1215, allocations: 85.64 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.1215, allocations: 51.41 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.1216, allocations: 109.8 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1216, allocations: 25.7 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.1216, allocations: 88.08 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.1216, allocations: 3.906 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.1217, allocations: 21.84 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.1217, allocations: 314.8 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.1218, allocations: 19.98 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.1219, allocations: 12.23 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.122, allocations: 52.75 kB / 0.6832 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.122, allocations: 15.94 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.1222, allocations: 69.59 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.1222, allocations: 10.19 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.1222, allocations: 0 / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.1223, allocations: 0 / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.1223, allocations: 7.984 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1223, allocations: 0 / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1224, allocations: 11.94 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1224, allocations: 4 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB 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 5.342e-05/0.1224, allocations: 117.8 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.1225, allocations: 0 / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.1227, allocations: 77.12 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1227, allocations: 0 / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1227, allocations: 0 / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-06/0.1227, allocations: 4.031 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1228, allocations: 173.6 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1228, allocations: 0 / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.1229, allocations: 7.984 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1229, allocations: 4 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.1229, allocations: 0 / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1229, allocations: 0 / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1229, allocations: 0 / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1231, allocations: 179.4 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.1231, allocations: 81.02 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.1232, allocations: 0 / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.1232, allocations: 7.984 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.1233, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1233, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.1233, allocations: 91.27 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 4.031 kB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001997/0.1235, allocations: 8 kB / 0.684 GB, free: 12.29 MB / 494.1 MB 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.0003982/0.1239, allocations: 0.6974 MB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1241, allocations: 51.92 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1241, allocations: 0 / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.1242, allocations: 19.98 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1244, allocations: 0 / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.1247, allocations: 159.3 kB / 0.6849 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.1249, allocations: 0.6769 MB / 0.6856 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.932e-05/0.1249, allocations: 7.938 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.125, allocations: 7.438 kB / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.125, allocations: 0 / 0.6856 GB, free: 10.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.058/1.183, allocations: 1.284 MB / 0.6868 GB, free: 9.418 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.183, allocations: 207.2 kB / 0.687 GB, free: 9.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.631, allocations: 0 / 0.687 GB, free: 9.16 MB / 494.1 MB (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/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)