Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001883/0.001883, allocations: 104.6 kB / 16.45 MB, free: 6.457 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.002068/0.002068, allocations: 199.6 kB / 19.41 MB, free: 3.645 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.518/1.518, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8235/0.8235, allocations: 134 MB / 436.6 MB, free: 1.277 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.83 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.0027/0.1608, allocations: 1.431 MB / 0.6892 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1622, allocations: 0.7994 MB / 0.69 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1623, allocations: 0 / 0.69 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.1623, allocations: 3.984 kB / 0.69 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.1624, allocations: 3.938 kB / 0.69 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.163, allocations: 174.6 kB / 0.6902 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1632, allocations: 43.97 kB / 0.6902 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.275e-05/0.1632, allocations: 4 kB / 0.6902 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.04e-05/0.1633, allocations: 23.92 kB / 0.6902 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.1633, allocations: 15.92 kB / 0.6902 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1633, allocations: 7.984 kB / 0.6903 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.1637, allocations: 203.7 kB / 0.6904 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.1637, allocations: 15.94 kB / 0.6905 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1638, allocations: 19.88 kB / 0.6905 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.164, allocations: 187.5 kB / 0.6907 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.164, allocations: 0 / 0.6907 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.457e-06/0.164, allocations: 3.984 kB / 0.6907 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1641, allocations: 0 / 0.6907 GB, free: 8.168 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.0005677/0.1646, allocations: 430.5 kB / 0.6911 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1647, allocations: 8.031 kB / 0.6911 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/0.1647, allocations: 38.75 kB / 0.6911 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1647, allocations: 4.938 kB / 0.6911 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1649, allocations: 184.1 kB / 0.6913 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.165, allocations: 4.125 kB / 0.6913 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.165, allocations: 4 kB / 0.6913 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1651, allocations: 73.66 kB / 0.6914 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1652, allocations: 3.938 kB / 0.6914 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1652, allocations: 4 kB / 0.6914 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1652, allocations: 0 / 0.6914 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1653, allocations: 43.97 kB / 0.6914 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1657, allocations: 280.8 kB / 0.6917 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1658, allocations: 62.48 kB / 0.6918 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.1659, allocations: 48.91 kB / 0.6918 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.1659, allocations: 0 / 0.6918 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.166, allocations: 34.56 kB / 0.6918 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.166, allocations: 8 kB / 0.6918 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004005/0.1664, allocations: 179.3 kB / 0.692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1664, allocations: 81.05 kB / 0.6921 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1665, allocations: 126.9 kB / 0.6922 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1666, allocations: 25.7 kB / 0.6922 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.1666, allocations: 92.09 kB / 0.6923 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1666, allocations: 11.89 kB / 0.6923 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.1667, allocations: 21.75 kB / 0.6924 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.1668, allocations: 322.8 kB / 0.6927 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.167, allocations: 55.97 kB / 0.6927 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.167, allocations: 63.95 kB / 0.6928 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1673, allocations: 185.9 kB / 0.693 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1673, allocations: 0 / 0.693 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000314/0.1676, allocations: 221 kB / 0.6932 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.1677, allocations: 70.52 kB / 0.6932 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1677, allocations: 4 kB / 0.6932 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1677, allocations: 0 / 0.6932 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1677, allocations: 7.938 kB / 0.6932 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1677, allocations: 0 / 0.6932 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.1678, allocations: 15.94 kB / 0.6933 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1678, allocations: 3.938 kB / 0.6933 GB, free: 5.207 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.000118/0.1679, allocations: 143.5 kB / 0.6934 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.168, allocations: 4.234 kB / 0.6934 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.168, allocations: 15.88 kB / 0.6934 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.168, allocations: 4 kB / 0.6934 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.168, allocations: 0 / 0.6934 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.168, allocations: 0 / 0.6934 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1682, allocations: 177.5 kB / 0.6936 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1682, allocations: 0 / 0.6936 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.1682, allocations: 4 kB / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1682, allocations: 0 / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1682, allocations: 0 / 0.6936 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1682, allocations: 4 kB / 0.6936 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1682, allocations: 3.938 kB / 0.6936 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1685, allocations: 253.1 kB / 0.6938 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1686, allocations: 85.05 kB / 0.6939 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1686, allocations: 4 kB / 0.6939 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.1686, allocations: 4 kB / 0.6939 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.1688, allocations: 7.984 kB / 0.6939 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1688, allocations: 0 / 0.6939 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.987e-05/0.1689, allocations: 109.6 kB / 0.694 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1689, allocations: 0 / 0.694 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003427/0.1692, allocations: 55.88 kB / 0.6941 GB, free: 4.234 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.0007444/0.1699, allocations: 0.8273 MB / 0.6949 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1703, allocations: 238.7 kB / 0.6951 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1703, allocations: 4 kB / 0.6951 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1704, allocations: 99.31 kB / 0.6952 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1706, allocations: 4 kB / 0.6952 GB, free: 3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1726, allocations: 1.76 MB / 0.697 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1729, allocations: 0.6846 MB / 0.6976 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.1729, allocations: 4 kB / 0.6976 GB, free: 440 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.173, allocations: 19.42 kB / 0.6976 GB, free: 420 kB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.173, allocations: 0 / 0.6976 GB, free: 420 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.1978, allocations: 2.821 MB / 0.7004 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.97, allocations: 9.031 kB / 0.7004 GB, free: 13.77 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.558948975987732] Failed to read output from testmodel.py, exit status != 0: 8.035073091741651 8.049940057 7.883059309 Calling exit ...