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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.001303/0.001303, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 8 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 83.42 MB / 0.5974 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001569/0.2037, allocations: 1.128 MB / 0.5985 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2049, allocations: 0.7261 MB / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.2049, allocations: 0 / 0.5992 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.419e-05/0.205, allocations: 11.92 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.205, allocations: 7.984 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.2056, allocations: 115.7 kB / 0.5993 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.2057, allocations: 23.97 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.2057, allocations: 8 kB / 0.5993 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.2058, allocations: 19.92 kB / 0.5994 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.2059, allocations: 11.98 kB / 0.5994 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2059, allocations: 4 kB / 0.5994 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.2061, allocations: 167.7 kB / 0.5995 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2062, allocations: 7.984 kB / 0.5995 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.2062, allocations: 33.64 kB / 0.5996 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2064, allocations: 123.8 kB / 0.5997 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2064, allocations: 0 / 0.5997 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2065, allocations: 0 / 0.5997 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.2065, allocations: 0 / 0.5997 GB, free: 5.367 MB / 0.4981 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.0005359/0.207, allocations: 434.8 kB / 0.6001 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2071, allocations: 8.031 kB / 0.6001 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.48e-05/0.2071, allocations: 30.56 kB / 0.6001 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.2071, allocations: 7.953 kB / 0.6002 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2073, allocations: 174.9 kB / 0.6003 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2073, allocations: 3.984 kB / 0.6003 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.2073, allocations: 4 kB / 0.6003 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.2075, allocations: 77.67 kB / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2075, allocations: 0 / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2075, allocations: 4 kB / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2076, allocations: 0 / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.2077, allocations: 59.84 kB / 0.6005 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.2081, allocations: 276.9 kB / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.2082, allocations: 58.55 kB / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2082, allocations: 0 / 0.6008 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2083, allocations: 30.56 kB / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.915e-06/0.2083, allocations: 0 / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004504/0.2087, allocations: 280.4 kB / 0.6011 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.2088, allocations: 85.05 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.2089, allocations: 125.7 kB / 0.6013 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2089, allocations: 25.7 kB / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.209, allocations: 88.14 kB / 0.6014 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.209, allocations: 11.83 kB / 0.6014 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.209, allocations: 4 kB / 0.6014 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2091, allocations: 314.8 kB / 0.6017 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2092, allocations: 64 kB / 0.6018 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.2093, allocations: 59.95 kB / 0.6018 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2095, allocations: 111.4 kB / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2095, allocations: 0 / 0.6019 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002692/0.2097, allocations: 221 kB / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.2098, allocations: 67.39 kB / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2098, allocations: 0 / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2098, allocations: 0 / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.2099, allocations: 4 kB / 0.6022 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2099, allocations: 11.94 kB / 0.6022 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.21, allocations: 15.89 kB / 0.6022 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.21, allocations: 7.938 kB / 0.6022 GB, free: 2.453 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2101, allocations: 149.6 kB / 0.6024 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.2102, allocations: 4.219 kB / 0.6024 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.2102, allocations: 11.89 kB / 0.6024 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2102, allocations: 0 / 0.6024 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2102, allocations: 0 / 0.6024 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2102, allocations: 3.953 kB / 0.6024 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2104, allocations: 169.7 kB / 0.6026 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2104, allocations: 8 kB / 0.6026 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.2104, allocations: 4 kB / 0.6026 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2104, allocations: 0 / 0.6026 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2104, allocations: 4 kB / 0.6026 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2105, allocations: 3.938 kB / 0.6026 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2105, allocations: 0 / 0.6026 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.2108, allocations: 261 kB / 0.6028 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.2108, allocations: 81.02 kB / 0.6029 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.2108, allocations: 0 / 0.6029 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.2109, allocations: 12.03 kB / 0.6029 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.211, allocations: 7.984 kB / 0.6029 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.211, allocations: 0 / 0.6029 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.2111, allocations: 99.27 kB / 0.603 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2111, allocations: 0 / 0.603 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003332/0.2114, allocations: 59.98 kB / 0.6031 GB, free: 1.48 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006635/0.2121, allocations: 0.835 MB / 0.6039 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.2124, allocations: 242.7 kB / 0.6041 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2125, allocations: 0 / 0.6041 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2126, allocations: 111.4 kB / 0.6042 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.2127, allocations: 0 / 0.6042 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3207/0.5335, allocations: 408.2 kB / 0.6046 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.5337, allocations: 0.6888 MB / 0.6053 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.5337, allocations: 1.562 kB / 0.6053 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.5338, allocations: 13.69 kB / 0.6053 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.122e-06/0.5338, allocations: 2.844 kB / 0.6053 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.5475, allocations: 2.525 MB / 0.6078 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/0.5479, allocations: 223.5 kB / 0.608 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.279, allocations: 0 / 0.608 GB, free: 39.71 MB / 0.4981 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/linux/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) Environment - environmentSimulation: