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.001082/0.001082, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0009087/0.0009087, allocations: 210.9 kB / 23 MB, free: 2.977 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 1.072/1.072, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.03687/0.03687, allocations: 12.2 MB / 325.4 MB, free: 6.086 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.0005269/0.0005269, allocations: 27.94 kB / 384.8 MB, free: 10.51 MB / 314.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.766/1.766, allocations: 353.8 MB / 0.7794 GB, free: 4.602 MB / 0.5105 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.001427/0.001427, allocations: 124.1 kB / 1.061 GB, free: 24.34 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2806, allocations: 134.9 MB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002045/0.2826, allocations: 0.6904 MB / 1.194 GB, free: 6.32 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2837, allocations: 0.8904 MB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.2838, allocations: 4 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.2838, allocations: 3.938 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.2839, allocations: 7.875 kB / 1.195 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.2841, allocations: 19.97 kB / 1.195 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.2842, allocations: 43.84 kB / 1.195 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2844, allocations: 11.98 kB / 1.195 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.2845, allocations: 15.94 kB / 1.195 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.2845, allocations: 23.91 kB / 1.195 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2845, allocations: 4 kB / 1.195 GB, free: 5.285 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.2846, allocations: 4 kB / 1.195 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.2846, allocations: 4 kB / 1.195 GB, free: 5.277 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.2846, allocations: 15.92 kB / 1.195 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2847, allocations: 47.73 kB / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2847, allocations: 0 / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2847, allocations: 0 / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2847, allocations: 0 / 1.195 GB, free: 5.215 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.0004853/0.2852, allocations: 286.3 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.2853, allocations: 12.03 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.2853, allocations: 4.891 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2854, allocations: 114.5 kB / 1.195 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2854, allocations: 4.375 kB / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2854, allocations: 384 / 1.195 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2856, allocations: 70.16 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2856, allocations: 4.125 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2857, allocations: 3.938 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2857, allocations: 8 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2858, allocations: 63.92 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.2862, allocations: 208.6 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2863, allocations: 54.47 kB / 1.195 GB, free: 4.297 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.2864, allocations: 44.86 kB / 1.196 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2864, allocations: 0 / 1.196 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2864, allocations: 30.56 kB / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2865, allocations: 0 / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003466/0.2868, allocations: 133.8 kB / 1.196 GB, free: 4.074 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2868, allocations: 55.41 kB / 1.196 GB, free: 4.008 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.2869, allocations: 109.8 kB / 1.196 GB, free: 3.891 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2869, allocations: 25.7 kB / 1.196 GB, free: 3.859 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.287, allocations: 92.09 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.287, allocations: 7.938 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.287, allocations: 13.72 kB / 1.196 GB, free: 3.738 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.2871, allocations: 314.8 kB / 1.196 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.2872, allocations: 35.95 kB / 1.196 GB, free: 3.387 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.2873, allocations: 35.95 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2874, allocations: 68.78 kB / 1.196 GB, free: 3.281 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2874, allocations: 3.938 kB / 1.196 GB, free: 3.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001774/0.2876, allocations: 101.6 kB / 1.197 GB, free: 3.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2876, allocations: 5.875 kB / 1.197 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2876, allocations: 3.938 kB / 1.197 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.2877, allocations: 4 kB / 1.197 GB, free: 3.16 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.2878, allocations: 15.97 kB / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2878, allocations: 0 / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/0.2878, allocations: 15.94 kB / 1.197 GB, free: 3.129 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2878, allocations: 0 / 1.197 GB, free: 3.129 MB / 0.823 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 7.539e-05/0.2879, allocations: 113.8 kB / 1.197 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.2879, allocations: 7.938 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.288, allocations: 12 kB / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.288, allocations: 0 / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.288, allocations: 3.984 kB / 1.197 GB, free: 2.977 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.288, allocations: 4 kB / 1.197 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2881, allocations: 113.3 kB / 1.197 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2881, allocations: 0 / 1.197 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.2881, allocations: 19.92 kB / 1.197 GB, free: 2.812 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2881, allocations: 0 / 1.197 GB, free: 2.812 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2881, allocations: 0 / 1.197 GB, free: 2.812 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.2881, allocations: 4 kB / 1.197 GB, free: 2.809 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2881, allocations: 3.938 kB / 1.197 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.2884, allocations: 203.4 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.2884, allocations: 7.875 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2884, allocations: 0 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.2885, allocations: 11.98 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.2885, allocations: 7.984 kB / 1.197 GB, free: 2.562 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2885, allocations: 8 kB / 1.197 GB, free: 2.555 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.2885, allocations: 79.28 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2885, allocations: 0 / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001488/0.2887, allocations: 8 kB / 1.197 GB, free: 2.469 MB / 0.823 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 0.0001459/0.2888, allocations: 99.23 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2891, allocations: 71.92 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2891, allocations: 0 / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.2892, allocations: 35.91 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2894, allocations: 13.05 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.2901, allocations: 155.1 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.2902, allocations: 63.34 kB / 1.198 GB, free: 1.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.2902, allocations: 11.44 kB / 1.198 GB, free: 1.969 MB / 0.823 GB Notification: Performance of SimCode: time 7.52e-07/0.2902, allocations: 0 / 1.198 GB, free: 1.969 MB / 0.823 GB Notification: Performance of Templates: time 0.001701/0.2919, allocations: 0.7677 MB / 1.198 GB, free: 1.211 MB / 0.823 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: 7.734891411848366] Failed to read output from testmodel.py, exit status != 0: 0.29883121419698 0.307333138 0.020566024000000002 Calling exit ...