Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.004528/0.004528, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001092/0.001092, allocations: 192 kB / 16.67 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.001/1.001, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3736, allocations: 82.03 MB / 0.6752 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002187/0.3758, allocations: 1.414 MB / 0.6766 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3771, allocations: 0.7762 MB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.3771, allocations: 1.125 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.964e-05/0.3772, allocations: 0 / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.3773, allocations: 10.19 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.3779, allocations: 171.9 kB / 0.6775 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.378, allocations: 56.47 kB / 0.6776 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/0.3781, allocations: 7.031 kB / 0.6776 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.3781, allocations: 18.86 kB / 0.6776 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.3782, allocations: 16.61 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3782, allocations: 4.625 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.3786, allocations: 203 kB / 0.6778 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.3786, allocations: 9.438 kB / 0.6778 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3787, allocations: 20.17 kB / 0.6778 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3789, allocations: 192.7 kB / 0.678 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.379, allocations: 0 / 0.678 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.379, allocations: 1.25 kB / 0.678 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.379, allocations: 0 / 0.678 GB, free: 15.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004689/0.3794, allocations: 441 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3795, allocations: 9.719 kB / 0.6784 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.3795, allocations: 37.09 kB / 0.6785 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3796, allocations: 10.98 kB / 0.6785 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.3797, allocations: 167.4 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.3797, allocations: 1.406 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3797, allocations: 3.594 kB / 0.6786 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.3799, allocations: 78.28 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3799, allocations: 0 / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3799, allocations: 5.438 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3799, allocations: 0 / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.38, allocations: 45.09 kB / 0.6788 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3804, allocations: 290.8 kB / 0.679 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3806, allocations: 61.02 kB / 0.6791 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.3807, allocations: 50.5 kB / 0.6791 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3807, allocations: 5.266 kB / 0.6792 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3807, allocations: 32.31 kB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.3807, allocations: 0 / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003761/0.3811, allocations: 184.1 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3811, allocations: 83.3 kB / 0.6794 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.3812, allocations: 130.5 kB / 0.6796 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3813, allocations: 30.86 kB / 0.6796 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.3813, allocations: 90.25 kB / 0.6797 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3813, allocations: 6.203 kB / 0.6797 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.3814, allocations: 20.28 kB / 0.6797 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.3815, allocations: 320.9 kB / 0.68 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3816, allocations: 60.16 kB / 0.6801 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3817, allocations: 61.39 kB / 0.6801 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.3819, allocations: 197 kB / 0.6803 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3819, allocations: 0 / 0.6803 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002795/0.3822, allocations: 221.1 kB / 0.6805 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.3823, allocations: 68.2 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3823, allocations: 0 / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3823, allocations: 1.219 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.3824, allocations: 2.062 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3824, allocations: 1.062 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3824, allocations: 4.844 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3825, allocations: 6.562 kB / 0.6806 GB, free: 12.62 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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.936e-05/0.3826, allocations: 151.5 kB / 0.6808 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3826, allocations: 6.234 kB / 0.6808 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.976e-05/0.3826, allocations: 5.031 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3826, allocations: 5.234 kB / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3826, allocations: 0 / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3826, allocations: 64 / 0.6808 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3828, allocations: 183 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3828, allocations: 0 / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.3829, allocations: 7.344 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3829, allocations: 1.281 kB / 0.6809 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3829, allocations: 1.062 kB / 0.681 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3829, allocations: 0 / 0.681 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3829, allocations: 1.062 kB / 0.681 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3832, allocations: 251.4 kB / 0.6812 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.3832, allocations: 82.47 kB / 0.6813 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3832, allocations: 4.922 kB / 0.6813 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.3833, allocations: 11.44 kB / 0.6813 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3834, allocations: 11.33 kB / 0.6813 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3834, allocations: 2.344 kB / 0.6813 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.3835, allocations: 94.27 kB / 0.6814 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3835, allocations: 0 / 0.6814 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003454/0.3839, allocations: 57.22 kB / 0.6814 GB, free: 11.81 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.000674/0.3845, allocations: 0.8389 MB / 0.6823 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3849, allocations: 240.8 kB / 0.6825 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3849, allocations: 0 / 0.6825 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.385, allocations: 103.2 kB / 0.6826 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3853, allocations: 4.281 kB / 0.6826 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.387, allocations: 1.758 MB / 0.6843 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3872, allocations: 0.6826 MB / 0.685 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.3872, allocations: 0 / 0.685 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3873, allocations: 16.8 kB / 0.685 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.3873, allocations: 5.312 kB / 0.685 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.4069, allocations: 2.843 MB / 0.6878 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.866, allocations: 13.92 kB / 0.6878 GB, free: 7.152 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_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_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)