Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8162/0.8162, allocations: 129.2 MB / 432.5 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3869, allocations: 83.44 MB / 0.6802 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002908/0.3898, allocations: 1.426 MB / 0.6816 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3909, allocations: 0.7839 MB / 0.6823 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.3909, allocations: 1 kB / 0.6824 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.865e-05/0.391, allocations: 3.938 kB / 0.6824 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.3911, allocations: 6.125 kB / 0.6824 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.3917, allocations: 177.3 kB / 0.6825 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3918, allocations: 37.89 kB / 0.6826 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8e-05/0.3919, allocations: 10.58 kB / 0.6826 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.3919, allocations: 13.69 kB / 0.6826 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.392, allocations: 21.78 kB / 0.6826 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.392, allocations: 4.562 kB / 0.6826 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.3923, allocations: 211.6 kB / 0.6828 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3924, allocations: 16.89 kB / 0.6828 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3924, allocations: 16.5 kB / 0.6828 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3927, allocations: 187.8 kB / 0.683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3927, allocations: 1.344 kB / 0.683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3927, allocations: 0 / 0.683 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3927, allocations: 0 / 0.683 GB, free: 3.891 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.0004397/0.3931, allocations: 437.5 kB / 0.6834 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3932, allocations: 12.72 kB / 0.6835 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.3932, allocations: 37.33 kB / 0.6835 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3932, allocations: 7.438 kB / 0.6835 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.3933, allocations: 171 kB / 0.6837 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3933, allocations: 5.438 kB / 0.6837 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3934, allocations: 2.719 kB / 0.6837 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3935, allocations: 78.5 kB / 0.6837 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3935, allocations: 3.984 kB / 0.6837 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3935, allocations: 5.438 kB / 0.6838 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.3935, allocations: 0 / 0.6838 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3937, allocations: 45.03 kB / 0.6838 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.394, allocations: 286.5 kB / 0.6841 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3941, allocations: 60.92 kB / 0.6841 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.3941, allocations: 44.66 kB / 0.6842 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-06/0.3942, allocations: 1 kB / 0.6842 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.3942, allocations: 31.78 kB / 0.6842 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3942, allocations: 4 kB / 0.6842 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.3945, allocations: 180.7 kB / 0.6844 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3945, allocations: 79.42 kB / 0.6845 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.358e-05/0.3946, allocations: 126.4 kB / 0.6846 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3946, allocations: 30.77 kB / 0.6846 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.3947, allocations: 94.42 kB / 0.6847 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.3947, allocations: 5.953 kB / 0.6847 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3947, allocations: 25.06 kB / 0.6847 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.3947, allocations: 321 kB / 0.685 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.3948, allocations: 56.41 kB / 0.6851 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.3949, allocations: 56.97 kB / 0.6851 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3951, allocations: 196.8 kB / 0.6853 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3951, allocations: 0 / 0.6853 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002296/0.3953, allocations: 217.3 kB / 0.6855 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.3954, allocations: 67.03 kB / 0.6856 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3954, allocations: 1.094 kB / 0.6856 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3954, allocations: 0 / 0.6856 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.3955, allocations: 11.8 kB / 0.6856 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3955, allocations: 3.984 kB / 0.6856 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.3955, allocations: 8.703 kB / 0.6856 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3955, allocations: 6.312 kB / 0.6856 GB, free: 1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.3956, allocations: 147.5 kB / 0.6858 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3956, allocations: 2.281 kB / 0.6858 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.3956, allocations: 9.25 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3956, allocations: 1.25 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3956, allocations: 0 / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3956, allocations: 1.125 kB / 0.6858 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.3958, allocations: 178.6 kB / 0.686 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3958, allocations: 0 / 0.686 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.3958, allocations: 10.92 kB / 0.686 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3958, allocations: 1.531 kB / 0.686 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3958, allocations: 1.156 kB / 0.686 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3958, allocations: 0 / 0.686 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3958, allocations: 4 kB / 0.686 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.396, allocations: 258.8 kB / 0.6862 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.396, allocations: 83.25 kB / 0.6863 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.396, allocations: 1.156 kB / 0.6863 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.3961, allocations: 7.953 kB / 0.6863 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3962, allocations: 7.156 kB / 0.6863 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3962, allocations: 1.094 kB / 0.6863 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.3963, allocations: 103.8 kB / 0.6864 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.3963, allocations: 0 / 0.6864 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003253/0.3966, allocations: 55.83 kB / 0.6865 GB, free: 0.6445 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 (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.0005567/0.3971, allocations: 0.8348 MB / 0.6873 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.3975, allocations: 238.1 kB / 0.6875 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3975, allocations: 0 / 0.6875 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3976, allocations: 97.62 kB / 0.6876 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3978, allocations: 10.83 kB / 0.6876 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3997, allocations: 1.749 MB / 0.6893 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4, allocations: 0.6909 MB / 0.69 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.4001, allocations: 4 kB / 0.69 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.4001, allocations: 12.78 kB / 0.69 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.4001, allocations: 0 / 0.69 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.4246, allocations: 2.827 MB / 0.6928 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.203, allocations: 7.953 kB / 0.6928 GB, free: 11.98 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.468372935894877] Failed to read output from testmodel.py, exit status != 0: 8.27140459511429 8.294694551 7.897722584 Calling exit ...