Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.0006769/0.0006769, 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.0006974/0.0006974, allocations: 165.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.8565/0.8565, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.00132/0.00132, allocations: 240.8 kB / 259.4 MB, free: 13.04 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.6497/0.6497, 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.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6463 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/1.039e-05, allocations: 9.172 kB / 0.6464 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001002/0.001012, allocations: 0.6163 MB / 0.647 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2121/0.2131, allocations: 1.377 MB / 0.6483 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.2131, allocations: 0 / 0.6483 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 7.233e-05/0.2132, allocations: 4.375 kB / 0.6483 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.2132, allocations: 7.172 kB / 0.6483 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.214, allocations: 183.8 kB / 0.6485 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2141, allocations: 47.84 kB / 0.6485 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.2141, allocations: 2.797 kB / 0.6485 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.2142, allocations: 27.78 kB / 0.6486 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/0.2142, allocations: 22.56 kB / 0.6486 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2142, allocations: 4.25 kB / 0.6486 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.2146, allocations: 212 kB / 0.6488 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.2146, allocations: 16.88 kB / 0.6488 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.2146, allocations: 16.66 kB / 0.6488 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.2149, allocations: 231.8 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2149, allocations: 1.781 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2149, allocations: 0 / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.215, allocations: 0 / 0.649 GB, free: 55.74 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.0003261/0.2153, allocations: 364 kB / 0.6494 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2153, allocations: 12.12 kB / 0.6494 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.208e-05/0.2153, allocations: 37 kB / 0.6494 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.2154, allocations: 8.609 kB / 0.6494 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.265e-05/0.2154, allocations: 117.9 kB / 0.6496 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2155, allocations: 2.875 kB / 0.6496 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.2155, allocations: 3.25 kB / 0.6496 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2156, allocations: 123.5 kB / 0.6497 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2156, allocations: 1.641 kB / 0.6497 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2156, allocations: 5.688 kB / 0.6497 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2156, allocations: 3.047 kB / 0.6497 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.2157, allocations: 89.89 kB / 0.6498 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.2158, allocations: 145.9 kB / 0.6499 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.2159, allocations: 108.1 kB / 0.65 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.216, allocations: 95.3 kB / 0.6501 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.216, allocations: 3.062 kB / 0.6501 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.216, allocations: 34.81 kB / 0.6501 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.216, allocations: 0 / 0.6501 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0003235/0.2163, allocations: 319.3 kB / 0.6505 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2164, allocations: 85.69 kB / 0.6505 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.2164, allocations: 148.5 kB / 0.6507 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.2165, allocations: 27.45 kB / 0.6507 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.2165, allocations: 88.66 kB / 0.6508 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.2165, allocations: 23.86 kB / 0.6508 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.2165, allocations: 29.92 kB / 0.6508 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.2166, allocations: 321.2 kB / 0.6511 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2167, allocations: 166.9 kB / 0.6513 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.2168, allocations: 173.1 kB / 0.6515 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.217, allocations: 282.4 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.217, allocations: 0 / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002441/0.2172, allocations: 390.3 kB / 0.6521 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.2172, allocations: 71.91 kB / 0.6522 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2173, allocations: 5.203 kB / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2173, allocations: 1.562 kB / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.2173, allocations: 0 / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2173, allocations: 0 / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2174, allocations: 10.5 kB / 0.6522 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.2174, allocations: 5.562 kB / 0.6522 GB, free: 53.59 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 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.443e-05/0.2175, allocations: 155.8 kB / 0.6523 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.2175, allocations: 7.266 kB / 0.6524 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.2175, allocations: 11 kB / 0.6524 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2175, allocations: 2.719 kB / 0.6524 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2175, allocations: 0 / 0.6524 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2175, allocations: 3.188 kB / 0.6524 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.785e-05/0.2176, allocations: 139.4 kB / 0.6525 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2176, allocations: 0 / 0.6525 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.2176, allocations: 2.031 kB / 0.6525 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.2176, allocations: 0 / 0.6525 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2176, allocations: 6.938 kB / 0.6525 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2176, allocations: 0 / 0.6525 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2176, allocations: 3.938 kB / 0.6525 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.2178, allocations: 257.6 kB / 0.6528 GB, free: 53.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-06/0.2178, allocations: 14.2 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2178, allocations: 5.375 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.2178, allocations: 4.453 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.2179, allocations: 10.86 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2179, allocations: 2.5 kB / 0.6528 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.2179, allocations: 112 kB / 0.6529 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2179, allocations: 0 / 0.6529 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002647/0.2182, allocations: 66.38 kB / 0.653 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 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0004435/0.2187, allocations: 0.854 MB / 0.6538 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2189, allocations: 424.4 kB / 0.6542 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2189, allocations: 1.312 kB / 0.6542 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.219, allocations: 154.5 kB / 0.6544 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.2191, allocations: 5.906 kB / 0.6544 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.2205, allocations: 2.455 MB / 0.6568 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.2205, allocations: 79.77 kB / 0.6568 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.801e-06/0.2206, allocations: 0 / 0.6568 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2206, allocations: 18.73 kB / 0.6569 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/0.2206, allocations: 0.5625 kB / 0.6569 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2388, allocations: 4.063 MB / 0.6608 GB, free: 49.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.308/6.547, allocations: 9.297 kB / 0.6608 GB, free: 49.6 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.982214312069118] Failed to read output from testmodel.py, exit status != 0: 6.62541170231998 6.632730256 6.41600576 Calling exit ...