Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.0007242/0.0007242, 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.0007339/0.0007339, 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.8328/0.8328, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.001394/0.001394, 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.6601/0.6601, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.325e-05, allocations: 5.234 kB / 0.6464 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001247/0.00127, allocations: 0.624 MB / 0.647 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002953/0.001566, allocations: 171.9 kB / 0.6471 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.001596, allocations: 4 kB / 0.6471 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.001611, allocations: 3.938 kB / 0.6471 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.001765, allocations: 15.86 kB / 0.6472 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.001928, allocations: 71.75 kB / 0.6472 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.00199, allocations: 31.84 kB / 0.6473 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.002035, allocations: 4 kB / 0.6473 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.002078, allocations: 19.97 kB / 0.6473 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.002138, allocations: 15.92 kB / 0.6473 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.002153, allocations: 4 kB / 0.6473 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.002245, allocations: 51.88 kB / 0.6473 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.002263, allocations: 7.922 kB / 0.6474 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.002281, allocations: 8 kB / 0.6474 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.002412, allocations: 91.77 kB / 0.6474 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.002415, allocations: 4 kB / 0.6475 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002416, allocations: 0 / 0.6475 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.002421, allocations: 0 / 0.6475 GB, free: 0.6602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004251/0.002846, allocations: 290.1 kB / 0.6477 GB, free: 352 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.002888, allocations: 13.94 kB / 0.6477 GB, free: 340 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.002916, allocations: 34.75 kB / 0.6478 GB, free: 296 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.002939, allocations: 4.891 kB / 0.6478 GB, free: 292 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.003039, allocations: 125.7 kB / 0.6479 GB, free: 140 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.00305, allocations: 4.375 kB / 0.6479 GB, free: 136 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.003068, allocations: 12.25 kB / 0.6479 GB, free: 124 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.003178, allocations: 50.23 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.003187, allocations: 192 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003195, allocations: 384 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.003201, allocations: 4.125 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.003279, allocations: 39.97 kB / 0.648 GB, free: 24 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2227/0.2259, allocations: 215.9 kB / 0.6482 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2261, allocations: 62.61 kB / 0.6483 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.2261, allocations: 24.22 kB / 0.6483 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2261, allocations: 2.812 kB / 0.6483 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2262, allocations: 38.08 kB / 0.6483 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2262, allocations: 0 / 0.6483 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.01225/0.2384, allocations: 1.616 MB / 0.6499 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.2384, allocations: 53.09 kB / 0.65 GB, free: 56.69 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.2385, allocations: 118.8 kB / 0.6501 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.2385, allocations: 27.2 kB / 0.6501 GB, free: 56.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.2386, allocations: 86.75 kB / 0.6502 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.2386, allocations: 29.02 kB / 0.6502 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2387, allocations: 26.59 kB / 0.6502 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.873e-05/0.2387, allocations: 319.1 kB / 0.6505 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.2391, allocations: 139.3 kB / 0.6507 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.2394, allocations: 147.2 kB / 0.6508 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.24, allocations: 300.9 kB / 0.6511 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.24, allocations: 1.844 kB / 0.6511 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007209/0.2407, allocations: 334.1 kB / 0.6514 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2407, allocations: 9.125 kB / 0.6514 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2407, allocations: 1.969 kB / 0.6514 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2407, allocations: 0 / 0.6514 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.2414, allocations: 69.09 kB / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2414, allocations: 0 / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/0.2419, allocations: 46.05 kB / 0.6515 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.2419, allocations: 4.312 kB / 0.6515 GB, free: 56.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.402e-05/0.242, allocations: 120.4 kB / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.2421, allocations: 3.562 kB / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.2421, allocations: 19.28 kB / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2421, allocations: 4.719 kB / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2421, allocations: 1.5 kB / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2421, allocations: 0 / 0.6517 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.2447, allocations: 0.7449 MB / 0.6524 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2447, allocations: 0 / 0.6524 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.2452, allocations: 53.67 kB / 0.6525 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2452, allocations: 2.766 kB / 0.6525 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.2452, allocations: 2.969 kB / 0.6525 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2452, allocations: 0 / 0.6525 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2452, allocations: 6.031 kB / 0.6525 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.2457, allocations: 324.5 kB / 0.6528 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.2457, allocations: 8.516 kB / 0.6528 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.2458, allocations: 6.375 kB / 0.6528 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.2462, allocations: 40.17 kB / 0.6528 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.2462, allocations: 10.75 kB / 0.6529 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.2462, allocations: 2.766 kB / 0.6529 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.456e-05/0.2462, allocations: 97.97 kB / 0.6529 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2462, allocations: 0 / 0.6529 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002438/0.2465, allocations: 97.84 kB / 0.653 GB, free: 55.31 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000727/0.2472, allocations: 0.8632 MB / 0.6539 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006101/0.2478, allocations: 246.5 kB / 0.6541 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2478, allocations: 0 / 0.6541 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2481, allocations: 91.7 kB / 0.6542 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.2483, allocations: 10.59 kB / 0.6542 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.2516, allocations: 2.687 MB / 0.6568 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.743e-05/0.2516, allocations: 70.22 kB / 0.6569 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.2519, allocations: 52.81 kB / 0.657 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.2522, allocations: 27.7 kB / 0.657 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.2522, allocations: 0 / 0.657 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2739, allocations: 11.48 MB / 0.6682 GB, free: 51.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.368, allocations: 3.875 kB / 0.6682 GB, free: 51.18 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.82067722082138] Failed to read output from testmodel.py, exit status != 0: 7.447740266099572 7.456939746 7.45240424 Calling exit ...