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.005484/0.005484, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001206/0.001206, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.002/1.002, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4487, allocations: 82.03 MB / 0.6752 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002444/0.4512, allocations: 1.407 MB / 0.6766 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.4525, allocations: 0.785 MB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.4526, allocations: 0 / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.4527, allocations: 4.969 kB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.4527, allocations: 5.094 kB / 0.6773 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.4534, allocations: 177.3 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.4536, allocations: 48.84 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.4537, allocations: 3.688 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.4538, allocations: 18.11 kB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.4538, allocations: 21.02 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.4538, allocations: 3.938 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.4542, allocations: 207.8 kB / 0.6778 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.4543, allocations: 4.594 kB / 0.6778 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.4544, allocations: 28.08 kB / 0.6778 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.4547, allocations: 196.6 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4547, allocations: 0 / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4547, allocations: 0 / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.4547, allocations: 0 / 0.678 GB, free: 14.91 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.0006046/0.4554, allocations: 434.2 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4554, allocations: 9.312 kB / 0.6784 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.4555, allocations: 37.31 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.4555, allocations: 3.438 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4556, allocations: 174.7 kB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4556, allocations: 1.438 kB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.4557, allocations: 3.344 kB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4559, allocations: 86.16 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4559, allocations: 0 / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4559, allocations: 5.094 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4559, allocations: 1.156 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.456, allocations: 48.69 kB / 0.6788 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.4564, allocations: 274.5 kB / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4565, allocations: 61.42 kB / 0.6791 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.813e-05/0.4566, allocations: 47 kB / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.4567, allocations: 0 / 0.6791 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4567, allocations: 35.5 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.4567, allocations: 1.094 kB / 0.6792 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/0.4571, allocations: 185 kB / 0.6794 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.4572, allocations: 82.47 kB / 0.6794 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.4573, allocations: 127.1 kB / 0.6796 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4573, allocations: 26.73 kB / 0.6796 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.4573, allocations: 90.44 kB / 0.6797 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.4574, allocations: 10.11 kB / 0.6797 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.4574, allocations: 28.5 kB / 0.6797 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4575, allocations: 324 kB / 0.68 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4576, allocations: 56.78 kB / 0.6801 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.4577, allocations: 60.98 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.458, allocations: 192.8 kB / 0.6803 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.458, allocations: 1.094 kB / 0.6803 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002984/0.4583, allocations: 216.6 kB / 0.6805 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.4584, allocations: 63.78 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4584, allocations: 7.922 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4584, allocations: 1.469 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.4585, allocations: 2.469 kB / 0.6806 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.4585, allocations: 3.938 kB / 0.6806 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.4585, allocations: 8.688 kB / 0.6806 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.4585, allocations: 2.562 kB / 0.6806 GB, free: 12.49 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 0.0001134/0.4587, allocations: 151.2 kB / 0.6807 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.4587, allocations: 11.28 kB / 0.6808 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.4587, allocations: 9.031 kB / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4587, allocations: 1.125 kB / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4588, allocations: 3.984 kB / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4588, allocations: 0 / 0.6808 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4589, allocations: 171.6 kB / 0.6809 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4589, allocations: 3.984 kB / 0.6809 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.459, allocations: 7.469 kB / 0.6809 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.459, allocations: 0 / 0.6809 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.459, allocations: 1.344 kB / 0.6809 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.459, allocations: 5.312 kB / 0.681 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.459, allocations: 0 / 0.681 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.4593, allocations: 247.6 kB / 0.6812 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.4594, allocations: 86.17 kB / 0.6813 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4594, allocations: 9.359 kB / 0.6813 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.4595, allocations: 8.031 kB / 0.6813 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4596, allocations: 3 kB / 0.6813 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4596, allocations: 9.359 kB / 0.6813 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.4597, allocations: 99.02 kB / 0.6814 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4597, allocations: 0 / 0.6814 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003181/0.46, allocations: 57.19 kB / 0.6815 GB, free: 11.67 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.0006897/0.4607, allocations: 0.8346 MB / 0.6823 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.461, allocations: 245.3 kB / 0.6825 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.461, allocations: 0 / 0.6825 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4612, allocations: 103.5 kB / 0.6826 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4614, allocations: 4.891 kB / 0.6826 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4631, allocations: 1.743 MB / 0.6843 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4634, allocations: 0.6853 MB / 0.685 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.4634, allocations: 5.344 kB / 0.685 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4634, allocations: 16.72 kB / 0.685 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/0.4635, allocations: 3.938 kB / 0.685 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4822, allocations: 2.879 MB / 0.6878 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/7.851, allocations: 11.75 kB / 0.6878 GB, free: 7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)