Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.008662/0.008662, allocations: 97.58 kB / 15.73 MB, free: 6.047 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.001358/0.001358, allocations: 184.7 kB / 16.67 MB, free: 5.969 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 59.91 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4079, allocations: 82.02 MB / 0.6754 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002061/0.41, allocations: 1.437 MB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.4103, allocations: 98.06 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.4104, allocations: 0 / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.779e-05/0.4104, allocations: 0 / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.4105, allocations: 4.938 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.4107, allocations: 14.89 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.4108, allocations: 33.27 kB / 0.677 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4109, allocations: 11.91 kB / 0.677 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.411, allocations: 6.812 kB / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.411, allocations: 14.92 kB / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4111, allocations: 2.375 kB / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.4112, allocations: 21.73 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.4112, allocations: 1.125 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.4113, allocations: 14.64 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.4114, allocations: 42.02 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4114, allocations: 4 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4114, allocations: 1.281 kB / 0.6771 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.4114, allocations: 0 / 0.6771 GB, free: 15.69 MB / 0.5137 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.0005244/0.412, allocations: 344.1 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.412, allocations: 8.75 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.412, allocations: 32 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.4121, allocations: 6.234 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.4122, allocations: 162.1 kB / 0.6776 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4122, allocations: 9.812 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.4122, allocations: 5.969 kB / 0.6776 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4124, allocations: 54.48 kB / 0.6777 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4124, allocations: 3.938 kB / 0.6777 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.4124, allocations: 0 / 0.6777 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4125, allocations: 4.938 kB / 0.6777 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.4126, allocations: 37.05 kB / 0.6777 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.413, allocations: 255.6 kB / 0.678 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4131, allocations: 41.5 kB / 0.678 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.4132, allocations: 28.64 kB / 0.678 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.4132, allocations: 5.219 kB / 0.678 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4133, allocations: 31.59 kB / 0.6781 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4133, allocations: 4 kB / 0.6781 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.4137, allocations: 89.72 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4137, allocations: 51.41 kB / 0.6782 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.4138, allocations: 106.8 kB / 0.6783 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4138, allocations: 25.7 kB / 0.6783 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.4139, allocations: 85.3 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4139, allocations: 9.203 kB / 0.6784 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.4139, allocations: 15.97 kB / 0.6784 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4141, allocations: 316 kB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.4142, allocations: 15.52 kB / 0.6787 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.4143, allocations: 21.95 kB / 0.6788 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4144, allocations: 46.25 kB / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4144, allocations: 5.156 kB / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.4146, allocations: 71.44 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4147, allocations: 6.656 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4147, allocations: 1.344 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.4147, allocations: 256 / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.4148, allocations: 10.36 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4148, allocations: 8.031 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.4148, allocations: 4.156 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4149, allocations: 0 / 0.6789 GB, free: 13.81 MB / 0.5137 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 8.916e-05/0.4149, allocations: 120 kB / 0.679 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.415, allocations: 5.641 kB / 0.679 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.4152, allocations: 74.94 kB / 0.6791 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4152, allocations: 32 / 0.6791 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4152, allocations: 9.234 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4153, allocations: 0 / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4154, allocations: 167.6 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4154, allocations: 0.875 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.4155, allocations: 13.55 kB / 0.6793 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4155, allocations: 5.156 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4155, allocations: 0 / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4155, allocations: 1.094 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4155, allocations: 0 / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.4158, allocations: 174.3 kB / 0.6795 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4159, allocations: 78.23 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4159, allocations: 1.062 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.416, allocations: 11.52 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.416, allocations: 1 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.416, allocations: 0.9688 kB / 0.6795 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.4161, allocations: 88.45 kB / 0.6796 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 0 / 0.6796 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000225/0.4163, allocations: 15.73 kB / 0.6796 GB, free: 13.05 MB / 0.5137 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.00059/0.4169, allocations: 0.7035 MB / 0.6803 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.4171, allocations: 40.73 kB / 0.6804 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4171, allocations: 0 / 0.6804 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.87e-05/0.4172, allocations: 20.39 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.4175, allocations: 2.312 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.4179, allocations: 145.3 kB / 0.6805 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4182, allocations: 0.6826 MB / 0.6812 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.4182, allocations: 1.156 kB / 0.6812 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.4183, allocations: 12.47 kB / 0.6812 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4183, allocations: 0 / 0.6812 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4406, allocations: 1.451 MB / 0.6826 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.291, allocations: 14.83 kB / 0.6826 GB, free: 10.64 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)