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.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.001349/0.001349, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001497/0.001497, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002487/0.002487, allocations: 300.3 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.269/1.269, allocations: 180.9 MB / 0.5261 GB, free: 14.67 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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 0.00275/0.00275, allocations: 109 kB / 0.7248 GB, free: 39.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1712, allocations: 94.16 MB / 0.8168 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001868/0.173, allocations: 0.6288 MB / 0.8174 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.1735, allocations: 199.4 kB / 0.8176 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.1735, allocations: 0 / 0.8176 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1735, allocations: 7.938 kB / 0.8176 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1737, allocations: 7.938 kB / 0.8176 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1739, allocations: 75.75 kB / 0.8177 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.174, allocations: 35.84 kB / 0.8177 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.174, allocations: 0 / 0.8177 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.125e-05/0.1741, allocations: 23.91 kB / 0.8177 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.1742, allocations: 15.92 kB / 0.8177 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.1742, allocations: 4 kB / 0.8177 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.1744, allocations: 107.7 kB / 0.8179 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1744, allocations: 8 kB / 0.8179 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1744, allocations: 19.84 kB / 0.8179 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1746, allocations: 111.9 kB / 0.818 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1746, allocations: 0 / 0.818 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1746, allocations: 0 / 0.818 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1746, allocations: 0 / 0.818 GB, free: 4.113 MB / 0.5606 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.0006291/0.1753, allocations: 371.1 kB / 0.8183 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1753, allocations: 12.03 kB / 0.8184 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1754, allocations: 34.75 kB / 0.8184 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.1754, allocations: 0.9375 kB / 0.8184 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1756, allocations: 172.3 kB / 0.8185 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1756, allocations: 8.375 kB / 0.8186 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1756, allocations: 4.359 kB / 0.8186 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1758, allocations: 58.17 kB / 0.8186 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1758, allocations: 3.938 kB / 0.8186 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1758, allocations: 0 / 0.8186 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1758, allocations: 0 / 0.8186 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.176, allocations: 39.95 kB / 0.8187 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.1763, allocations: 249 kB / 0.8189 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1765, allocations: 62.47 kB / 0.819 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/0.1766, allocations: 32.88 kB / 0.819 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1766, allocations: 0 / 0.819 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1766, allocations: 34.56 kB / 0.819 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1766, allocations: 0 / 0.819 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.02671/0.2033, allocations: 1.62 MB / 0.8206 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2034, allocations: 51.41 kB / 0.8207 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2035, allocations: 117.8 kB / 0.8208 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.2036, allocations: 25.7 kB / 0.8208 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2036, allocations: 84.14 kB / 0.8209 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.2037, allocations: 35.67 kB / 0.8209 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.2039, allocations: 25.7 kB / 0.8209 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.204, allocations: 318.8 kB / 0.8212 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.2045, allocations: 143.9 kB / 0.8214 GB, free: 428 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.205, allocations: 152.2 kB / 0.8215 GB, free: 276 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.206, allocations: 296.8 kB / 0.8218 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.206, allocations: 0 / 0.8218 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001152/0.2071, allocations: 333.4 kB / 0.8221 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2071, allocations: 10.34 kB / 0.8221 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2071, allocations: 0 / 0.8221 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2072, allocations: 0 / 0.8221 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.2086, allocations: 67.94 kB / 0.8222 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2086, allocations: 4.062 kB / 0.8222 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.2099, allocations: 47.94 kB / 0.8222 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.21, allocations: 0 / 0.8222 GB, free: 15.52 MB / 0.5762 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 0.0001897/0.2101, allocations: 117.8 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.2102, allocations: 7.953 kB / 0.8224 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.2103, allocations: 20.36 kB / 0.8224 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2104, allocations: 0 / 0.8224 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2104, allocations: 7.938 kB / 0.8224 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2104, allocations: 8 kB / 0.8224 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.2158, allocations: 0.8374 MB / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2158, allocations: 4 kB / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.2169, allocations: 51.94 kB / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2169, allocations: 0 / 0.8233 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.2169, allocations: 11.94 kB / 0.8233 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.217, allocations: 0 / 0.8233 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.217, allocations: 0 / 0.8233 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.2179, allocations: 325.5 kB / 0.8236 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.218, allocations: 89.33 kB / 0.8237 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/0.218, allocations: 7.938 kB / 0.8237 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.219, allocations: 39.95 kB / 0.8237 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.219, allocations: 15.91 kB / 0.8237 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.219, allocations: 4 kB / 0.8237 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.2191, allocations: 103.2 kB / 0.8238 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2191, allocations: 0 / 0.8238 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003961/0.2195, allocations: 91.88 kB / 0.8239 GB, free: 13.68 MB / 0.5762 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.001336/0.2209, allocations: 0.8701 MB / 0.8248 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000965/0.2218, allocations: 243.8 kB / 0.825 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2218, allocations: 0 / 0.825 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003941/0.2222, allocations: 95.88 kB / 0.8251 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.2225, allocations: 4.938 kB / 0.8251 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.229, allocations: 2.673 MB / 0.8277 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2293, allocations: 0.6883 MB / 0.8284 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004413/0.2298, allocations: 55.98 kB / 0.8284 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.2302, allocations: 19.42 kB / 0.8285 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.2302, allocations: 0 / 0.8285 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.2663, allocations: 9.838 MB / 0.8381 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/8.632, allocations: 10.22 kB / 0.8381 GB, free: 15.14 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.850711475126445] Failed to read output from testmodel.py, exit status != 0: 8.703535612206906 8.729948168 8.550506287 Calling exit ...