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.007853/0.007853, allocations: 99.53 kB / 15.73 MB, free: 6.496 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.00225/0.002251, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.04/1.04, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.91 kB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4252, allocations: 82.03 MB / 0.6754 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002447/0.4277, allocations: 1.422 MB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.428, allocations: 94.02 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.4281, allocations: 5.562 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.521e-05/0.4282, allocations: 0 / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.4282, allocations: 5.562 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4285, allocations: 25.36 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.4286, allocations: 22.14 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.4287, allocations: 18.16 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.4287, allocations: 3.344 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.4288, allocations: 15.08 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.4288, allocations: 2.5 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.4289, allocations: 25.98 kB / 0.677 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.4289, allocations: 5.312 kB / 0.677 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.429, allocations: 14.58 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.4291, allocations: 39.83 kB / 0.6771 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4291, allocations: 0 / 0.6771 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4291, allocations: 1.375 kB / 0.6771 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4291, allocations: 0 / 0.6771 GB, free: 15.65 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.0004759/0.4296, allocations: 346.3 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4296, allocations: 9.594 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.4297, allocations: 35.75 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.4297, allocations: 6.266 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4299, allocations: 163 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.4299, allocations: 384 / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4299, allocations: 1.844 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.4301, allocations: 54.7 kB / 0.6777 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4301, allocations: 5.156 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4301, allocations: 7.922 kB / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4301, allocations: 0 / 0.6777 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.4303, allocations: 38.25 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.4306, allocations: 254.7 kB / 0.678 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.4308, allocations: 49.86 kB / 0.678 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4309, allocations: 27.72 kB / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.4309, allocations: 6.469 kB / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.431, allocations: 31.69 kB / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.431, allocations: 0 / 0.6781 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003838/0.4314, allocations: 89.38 kB / 0.6781 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4314, allocations: 51.41 kB / 0.6782 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.4315, allocations: 110.7 kB / 0.6783 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4315, allocations: 29.64 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.4316, allocations: 85.3 kB / 0.6784 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.4316, allocations: 4.922 kB / 0.6784 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.4317, allocations: 17.05 kB / 0.6784 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4318, allocations: 315.8 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.4319, allocations: 14.64 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.432, allocations: 26.09 kB / 0.6788 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4322, allocations: 38.45 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4322, allocations: 3.938 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002295/0.4324, allocations: 67.56 kB / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4325, allocations: 9.469 kB / 0.6789 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4325, allocations: 4.094 kB / 0.6789 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4325, allocations: 1.094 kB / 0.6789 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.4326, allocations: 13.77 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4326, allocations: 0.9062 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.4326, allocations: 3.031 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4327, allocations: 5.203 kB / 0.6789 GB, free: 13.77 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 9.408e-05/0.4328, allocations: 116.6 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.4328, allocations: 5.641 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.433, allocations: 77.94 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4331, allocations: 0 / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4331, allocations: 0.9375 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4331, allocations: 3.984 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4333, allocations: 167.8 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4333, allocations: 5 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.4333, allocations: 9.734 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4333, allocations: 1.25 kB / 0.6793 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4333, allocations: 7.969 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4334, allocations: 0 / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4334, allocations: 1.281 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4336, allocations: 166.4 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.4337, allocations: 77.11 kB / 0.6795 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4337, allocations: 1.688 kB / 0.6795 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.4338, allocations: 15.98 kB / 0.6795 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.4338, allocations: 1.438 kB / 0.6795 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4338, allocations: 0 / 0.6795 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.684e-05/0.4339, allocations: 88.36 kB / 0.6796 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4339, allocations: 1.031 kB / 0.6796 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002286/0.4341, allocations: 10.83 kB / 0.6796 GB, free: 13.02 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.000628/0.4348, allocations: 0.704 MB / 0.6803 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.435, allocations: 44.33 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.435, allocations: 0 / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.4351, allocations: 20.73 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4354, allocations: 10.2 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.4358, allocations: 141.6 kB / 0.6805 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4361, allocations: 0.678 MB / 0.6812 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.4361, allocations: 5.016 kB / 0.6812 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.4362, allocations: 13.56 kB / 0.6812 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4362, allocations: 3.938 kB / 0.6812 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.4585, allocations: 1.445 MB / 0.6826 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.371, allocations: 11.56 kB / 0.6826 GB, free: 10.6 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)