Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.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.0008444/0.0008444, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.0008358/0.0008358, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8842/0.8842, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0363/0.0363, allocations: 12.18 MB / 325.4 MB, free: 3.422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004341/0.0004341, allocations: 29.64 kB / 384.9 MB, free: 45.84 MB / 298.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.615/1.615, allocations: 353.8 MB / 0.7794 GB, free: 13.02 MB / 0.5262 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 117.3 kB / 1.061 GB, free: 9.332 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2208, allocations: 134.9 MB / 1.193 GB, free: 2.523 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001346/0.2222, allocations: 0.6944 MB / 1.194 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.2229, allocations: 0.9083 MB / 1.195 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.2229, allocations: 0 / 1.195 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.2229, allocations: 3.938 kB / 1.195 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.223, allocations: 3.938 kB / 1.195 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.2231, allocations: 23.91 kB / 1.195 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.2232, allocations: 43.91 kB / 1.195 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.2233, allocations: 4 kB / 1.195 GB, free: 0.832 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.072e-05/0.2234, allocations: 19.92 kB / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.2234, allocations: 19.92 kB / 1.195 GB, free: 0.793 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2234, allocations: 7.938 kB / 1.195 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.2234, allocations: 8 kB / 1.195 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.2234, allocations: 11.92 kB / 1.195 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.2235, allocations: 19.92 kB / 1.195 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.264e-05/0.2236, allocations: 47.73 kB / 1.195 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2236, allocations: 3.938 kB / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2236, allocations: 0 / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2236, allocations: 4 kB / 1.195 GB, free: 0.6914 MB / 0.823 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.0003394/0.2239, allocations: 280 kB / 1.195 GB, free: 396 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2239, allocations: 15.98 kB / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.224, allocations: 8.891 kB / 1.195 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.224, allocations: 110.5 kB / 1.195 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2241, allocations: 8.375 kB / 1.195 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2241, allocations: 384 / 1.195 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2242, allocations: 70.2 kB / 1.195 GB, free: 152 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2242, allocations: 192 / 1.195 GB, free: 152 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2242, allocations: 7.938 kB / 1.195 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2242, allocations: 4 kB / 1.195 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2244, allocations: 67.86 kB / 1.195 GB, free: 72 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.2247, allocations: 232 kB / 1.196 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.2248, allocations: 58.47 kB / 1.196 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.2249, allocations: 36.92 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2249, allocations: 3.984 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2249, allocations: 30.56 kB / 1.196 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2249, allocations: 3.938 kB / 1.196 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3): time 0.0002869/0.2252, allocations: 137.6 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2252, allocations: 51.41 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.228e-05/0.2253, allocations: 109.8 kB / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.2253, allocations: 25.7 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.2253, allocations: 96.08 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.2253, allocations: 7.953 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.2254, allocations: 13.72 kB / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.2254, allocations: 314.8 kB / 1.196 GB, free: 14.86 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.2255, allocations: 31.95 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.2256, allocations: 31.97 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.2257, allocations: 76.72 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2257, allocations: 3.938 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001525/0.2259, allocations: 93.62 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.2259, allocations: 4 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2259, allocations: 3.984 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2259, allocations: 4 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.422e-05/0.226, allocations: 19.92 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.226, allocations: 3.938 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.226, allocations: 15.94 kB / 1.197 GB, free: 14.56 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.226, allocations: 0 / 1.197 GB, free: 14.56 MB / 0.8387 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 (3): * Single equations (assignments): 3 * 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 4.72e-05/0.226, allocations: 113.8 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.2261, allocations: 4 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.2261, allocations: 15.98 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2261, allocations: 3.938 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2261, allocations: 0 / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.2261, allocations: 4 kB / 1.197 GB, free: 14.41 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.983e-05/0.2262, allocations: 136.7 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.2262, allocations: 0 / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.2262, allocations: 15.97 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.2262, allocations: 0 / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2262, allocations: 12 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2262, allocations: 0 / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-07/0.2262, allocations: 4 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.2264, allocations: 191.4 kB / 1.197 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.2264, allocations: 3.938 kB / 1.197 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2264, allocations: 4 kB / 1.197 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.2265, allocations: 19.97 kB / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.2265, allocations: 4 kB / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.2265, allocations: 0 / 1.197 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.2266, allocations: 95.2 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2266, allocations: 0 / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001445/0.2267, allocations: 4 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 8.138e-05/0.2268, allocations: 91.25 kB / 1.197 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.227, allocations: 71.92 kB / 1.197 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.227, allocations: 0 / 1.197 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.227, allocations: 36.42 kB / 1.197 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.2272, allocations: 11.94 kB / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.2275, allocations: 160.8 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.2276, allocations: 0.6807 MB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2277, allocations: 11.44 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of SimCode: time 5.41e-07/0.2277, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of Templates: time 0.001397/0.2291, allocations: 0.7561 MB / 1.199 GB, free: 12 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.713317549787462] Failed to read output from testmodel.py, exit status != 0: 0.23552217800170183 0.24204016900000003 0.016883580000000002 Calling exit ...