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.0007702/0.0007702, 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.0007692/0.0007692, 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.8553/0.8553, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.002333/0.002333, allocations: 233.6 kB / 259.4 MB, free: 13.02 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.6581/0.6581, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.513e-06/1.513e-06, allocations: 0 / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.358e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001695/0.001709, allocations: 1.456 MB / 0.6477 GB, free: 372 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2082/0.2099, allocations: 0.7692 MB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.2099, allocations: 1.031 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.97e-05/0.21, allocations: 4.031 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.21, allocations: 3.859 kB / 0.6485 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.2107, allocations: 181.9 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2108, allocations: 43.78 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.2108, allocations: 6.75 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.2109, allocations: 22.91 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.2109, allocations: 18.52 kB / 0.6487 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.211, allocations: 4.094 kB / 0.6488 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.2112, allocations: 211.6 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.2113, allocations: 12.91 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.2113, allocations: 10.84 kB / 0.649 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2116, allocations: 233.6 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2116, allocations: 0.7188 kB / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2116, allocations: 0 / 0.6492 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2116, allocations: 5.531 kB / 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.0003205/0.2119, allocations: 366.2 kB / 0.6496 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2119, allocations: 10.31 kB / 0.6496 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.824e-05/0.212, allocations: 32.8 kB / 0.6496 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.212, allocations: 3.5 kB / 0.6496 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.354e-05/0.212, allocations: 111.5 kB / 0.6497 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.212, allocations: 3 kB / 0.6497 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2121, allocations: 3.719 kB / 0.6497 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.2122, allocations: 105.8 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.2122, allocations: 192 / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2122, allocations: 4.688 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2122, allocations: 0.7188 kB / 0.6498 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.2123, allocations: 78.89 kB / 0.6499 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.2125, allocations: 245.2 kB / 0.6501 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.817e-05/0.2126, allocations: 86.8 kB / 0.6502 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.2127, allocations: 75.53 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2127, allocations: 6.656 kB / 0.6503 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.2127, allocations: 32.03 kB / 0.6503 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.2127, allocations: 1 kB / 0.6503 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002521/0.2129, allocations: 248.6 kB / 0.6506 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.213, allocations: 84.02 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.213, allocations: 121.5 kB / 0.6508 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.213, allocations: 27.61 kB / 0.6508 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.213, allocations: 93 kB / 0.6509 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.2131, allocations: 8.562 kB / 0.6509 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.2131, allocations: 22.61 kB / 0.6509 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.382e-05/0.2131, allocations: 320.4 kB / 0.6512 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.2132, allocations: 120.2 kB / 0.6513 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.2132, allocations: 119.8 kB / 0.6514 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2134, allocations: 198.3 kB / 0.6516 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2134, allocations: 2.688 kB / 0.6516 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001577/0.2135, allocations: 283.1 kB / 0.6519 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.2135, allocations: 62.53 kB / 0.652 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2135, allocations: 1.969 kB / 0.652 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2136, allocations: 0 / 0.652 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.2136, allocations: 3.5 kB / 0.652 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2136, allocations: 0 / 0.652 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.2136, allocations: 19.92 kB / 0.652 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2136, allocations: 5.688 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 4.491e-05/0.2137, allocations: 143.8 kB / 0.6521 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2137, allocations: 11.47 kB / 0.6521 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.2137, allocations: 9.469 kB / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2137, allocations: 0 / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2137, allocations: 0 / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2137, allocations: 1.219 kB / 0.6521 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.2138, allocations: 136.9 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2138, allocations: 3.938 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.2138, allocations: 5.438 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2138, allocations: 5.25 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2138, allocations: 4.531 kB / 0.6523 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2138, allocations: 4.438 kB / 0.6523 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2138, allocations: 3.219 kB / 0.6523 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.2139, allocations: 276.1 kB / 0.6526 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.214, allocations: 9.484 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.214, allocations: 1.688 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.214, allocations: 5.812 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.2141, allocations: 8.422 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2141, allocations: 3 kB / 0.6526 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.2141, allocations: 97.59 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2141, allocations: 3.625 kB / 0.6527 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000219/0.2143, allocations: 57.48 kB / 0.6527 GB, free: 53.05 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.0003464/0.2147, allocations: 0.8678 MB / 0.6536 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.2149, allocations: 322.5 kB / 0.6539 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2149, allocations: 0 / 0.6539 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.226e-05/0.2149, allocations: 133.5 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.0001472/0.2151, allocations: 5.469 kB / 0.654 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2161, allocations: 2.039 MB / 0.656 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.2161, allocations: 74.44 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.2162, allocations: 3.656 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.2162, allocations: 16.58 kB / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/0.2162, allocations: 0 / 0.6561 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.2305, allocations: 3.476 MB / 0.6595 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.386/6.617, allocations: 6.953 kB / 0.6595 GB, free: 49.59 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.192740255966783] Failed to read output from testmodel.py, exit status != 0: 6.697421379387379 6.704838868 6.491578334 Calling exit ...