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.006961/0.006961, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001516/0.001516, allocations: 196.8 kB / 16.68 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 0.9518/0.9518, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3859, allocations: 82.03 MB / 0.6752 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002096/0.388, allocations: 1.422 MB / 0.6766 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3893, allocations: 0.7762 MB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.3894, allocations: 1.5 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.598e-05/0.3894, allocations: 7.922 kB / 0.6773 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.3895, allocations: 5.172 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3901, allocations: 174.5 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3902, allocations: 47.81 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.3903, allocations: 7.844 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.3903, allocations: 15.17 kB / 0.6776 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.3904, allocations: 20.94 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.3904, allocations: 7.688 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3907, allocations: 199.6 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.3908, allocations: 8.844 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.3908, allocations: 20.39 kB / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3911, allocations: 199.5 kB / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3911, allocations: 0 / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3911, allocations: 0 / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.3911, allocations: 1.156 kB / 0.678 GB, free: 14.97 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.0004736/0.3916, allocations: 428.8 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3916, allocations: 14.53 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.3917, allocations: 35.8 kB / 0.6785 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.3917, allocations: 8.156 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3918, allocations: 174.5 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3919, allocations: 2.688 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3919, allocations: 6.5 kB / 0.6786 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3921, allocations: 83 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3921, allocations: 0 / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3921, allocations: 1.25 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3921, allocations: 0 / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3922, allocations: 49.31 kB / 0.6788 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3926, allocations: 274.8 kB / 0.679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3927, allocations: 65.64 kB / 0.6791 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/0.3928, allocations: 45.78 kB / 0.6791 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3928, allocations: 3.938 kB / 0.6791 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3929, allocations: 36.69 kB / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3929, allocations: 0 / 0.6792 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000356/0.3932, allocations: 181.5 kB / 0.6793 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3933, allocations: 82.55 kB / 0.6794 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.3934, allocations: 131 kB / 0.6796 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3934, allocations: 26.27 kB / 0.6796 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3935, allocations: 90.75 kB / 0.6797 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3935, allocations: 9.719 kB / 0.6797 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.3935, allocations: 20.28 kB / 0.6797 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3937, allocations: 321 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3938, allocations: 60.66 kB / 0.6801 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.3939, allocations: 60.25 kB / 0.6801 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.3941, allocations: 189.8 kB / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3941, allocations: 0 / 0.6803 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002675/0.3944, allocations: 224.6 kB / 0.6805 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.3944, allocations: 64.09 kB / 0.6806 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3944, allocations: 0 / 0.6806 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3945, allocations: 1.375 kB / 0.6806 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.3945, allocations: 10.11 kB / 0.6806 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3945, allocations: 1.156 kB / 0.6806 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.3946, allocations: 8.344 kB / 0.6806 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3946, allocations: 2.375 kB / 0.6806 GB, free: 12.55 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.0001006/0.3947, allocations: 159.3 kB / 0.6807 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3947, allocations: 7.125 kB / 0.6808 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.3948, allocations: 4.875 kB / 0.6808 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3948, allocations: 1.094 kB / 0.6808 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3948, allocations: 0 / 0.6808 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3948, allocations: 0 / 0.6808 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3949, allocations: 175.5 kB / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.395, allocations: 0 / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.395, allocations: 7.328 kB / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.395, allocations: 0 / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.395, allocations: 2.188 kB / 0.6809 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.395, allocations: 4 kB / 0.6809 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.395, allocations: 1.031 kB / 0.6809 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3953, allocations: 247 kB / 0.6812 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3953, allocations: 82.02 kB / 0.6813 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.3954, allocations: 6.141 kB / 0.6813 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.3954, allocations: 11.39 kB / 0.6813 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.3955, allocations: 15.41 kB / 0.6813 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3955, allocations: 5.094 kB / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.3956, allocations: 99.33 kB / 0.6814 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3956, allocations: 0 / 0.6814 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003173/0.3959, allocations: 60.7 kB / 0.6814 GB, free: 11.73 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.0006699/0.3966, allocations: 0.8353 MB / 0.6823 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.3969, allocations: 236.9 kB / 0.6825 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.397, allocations: 3.938 kB / 0.6825 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3971, allocations: 99.59 kB / 0.6826 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.3973, allocations: 10.81 kB / 0.6826 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.399, allocations: 1.748 MB / 0.6843 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3994, allocations: 0.6903 MB / 0.685 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.363e-05/0.3994, allocations: 1.375 kB / 0.685 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3994, allocations: 12.81 kB / 0.685 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.3994, allocations: 0 / 0.685 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.4189, allocations: 2.847 MB / 0.6878 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.76, allocations: 17.14 kB / 0.6878 GB, free: 7.074 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)