Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007847/0.0007847, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8353/0.8353, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001632/0.001632, allocations: 240.6 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6481/0.6481, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.63e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001686/0.001702, allocations: 1.456 MB / 0.6477 GB, free: 428 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2065/0.2082, allocations: 0.7697 MB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.2083, allocations: 1.094 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.824e-05/0.2084, allocations: 5.625 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.2084, allocations: 3.609 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.209, allocations: 185 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.373e-05/0.2091, allocations: 43.03 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/0.2091, allocations: 11.97 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.2092, allocations: 20.5 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.2092, allocations: 16.75 kB / 0.6488 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2092, allocations: 3.625 kB / 0.6488 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002592/0.2095, allocations: 213.9 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.263e-05/0.2095, allocations: 9.594 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.2096, allocations: 17 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.2098, allocations: 235.4 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2098, allocations: 0 / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2098, allocations: 2.219 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2098, allocations: 0 / 0.6492 GB, free: 55.87 MB / 0.5573 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.0003497/0.2102, allocations: 359.4 kB / 0.6496 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2102, allocations: 10.94 kB / 0.6496 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.136e-05/0.2102, allocations: 33.03 kB / 0.6496 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.2102, allocations: 4 kB / 0.6496 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.2103, allocations: 119.7 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2103, allocations: 3.5 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.2103, allocations: 3.438 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2105, allocations: 103.8 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2105, allocations: 1.625 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.2105, allocations: 4.906 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2105, allocations: 1.656 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.2106, allocations: 77.47 kB / 0.6499 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.2108, allocations: 236.2 kB / 0.6501 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.2109, allocations: 92.14 kB / 0.6502 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.211, allocations: 75.67 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.211, allocations: 1.547 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.211, allocations: 32.41 kB / 0.6503 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.211, allocations: 1.422 kB / 0.6503 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002628/0.2113, allocations: 250.2 kB / 0.6506 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2113, allocations: 80.69 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.2114, allocations: 129.7 kB / 0.6508 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.2114, allocations: 28.08 kB / 0.6508 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.2114, allocations: 88.34 kB / 0.6509 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.2114, allocations: 9.844 kB / 0.6509 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.2114, allocations: 22.61 kB / 0.6509 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.888e-05/0.2115, allocations: 315.5 kB / 0.6512 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.2115, allocations: 128.1 kB / 0.6513 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.2116, allocations: 116 kB / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2118, allocations: 202.9 kB / 0.6516 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2118, allocations: 0 / 0.6516 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.2119, allocations: 283.5 kB / 0.6519 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.212, allocations: 63.17 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.212, allocations: 0 / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.212, allocations: 0 / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.212, allocations: 3.453 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.212, allocations: 2.156 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.212, allocations: 13.25 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.212, allocations: 7 kB / 0.652 GB, free: 53.65 MB / 0.5573 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 5.002e-05/0.2121, allocations: 145.9 kB / 0.6521 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.2121, allocations: 8.625 kB / 0.6521 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.2121, allocations: 8.125 kB / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2121, allocations: 0 / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.2121, allocations: 1.172 kB / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2121, allocations: 3.531 kB / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.917e-05/0.2122, allocations: 134.6 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2122, allocations: 3.938 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.2122, allocations: 3.516 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.2122, allocations: 2.406 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2122, allocations: 3.844 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2122, allocations: 2.25 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2122, allocations: 0 / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2124, allocations: 283.9 kB / 0.6526 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.2124, allocations: 10.08 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2124, allocations: 0 / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.2124, allocations: 7.359 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.2125, allocations: 12.8 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2125, allocations: 1.266 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.2125, allocations: 96.95 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2125, allocations: 0 / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001991/0.2127, allocations: 66.06 kB / 0.6527 GB, free: 53.04 MB / 0.5573 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.0003539/0.2131, allocations: 0.871 MB / 0.6536 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.2133, allocations: 319.5 kB / 0.6539 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.2133, allocations: 3.219 kB / 0.6539 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.2134, allocations: 130.6 kB / 0.654 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.2135, allocations: 12.78 kB / 0.654 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2145, allocations: 2.025 MB / 0.656 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.2146, allocations: 76.05 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.2146, allocations: 1.5 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2146, allocations: 15.33 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.2146, allocations: 3.938 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.2286, allocations: 3.481 MB / 0.6595 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/6.593, allocations: 13.94 kB / 0.6595 GB, free: 49.57 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.991777995601296] Failed to read output from testmodel.py, exit status != 0: 6.672496753744781 6.680153991 6.468839555 Calling exit ...