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.001328/0.001328, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001462/0.001462, allocations: 211.7 kB / 22.25 MB, free: 5.086 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.063/0.063, allocations: 12.19 MB / 324.6 MB, free: 7.289 MB / 254.1 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.0007941/0.0007941, allocations: 30.62 kB / 384.1 MB, free: 46.65 MB / 302.1 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 2.503/2.503, allocations: 353.8 MB / 0.7787 GB, free: 1.059 MB / 0.5138 GB " [Timeout remaining time 177] 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.003598/0.003598, allocations: 121.2 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2813, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001946/0.2832, allocations: 0.7022 MB / 1.193 GB, free: 5.488 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2844, allocations: 0.9021 MB / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.2845, allocations: 0 / 1.194 GB, free: 4.574 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2845, allocations: 3.938 kB / 1.194 GB, free: 4.57 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.2846, allocations: 7.922 kB / 1.194 GB, free: 4.562 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.2847, allocations: 15.92 kB / 1.194 GB, free: 4.547 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2849, allocations: 51.84 kB / 1.194 GB, free: 4.496 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.285, allocations: 8 kB / 1.194 GB, free: 4.488 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.113e-05/0.285, allocations: 15.98 kB / 1.194 GB, free: 4.473 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.2851, allocations: 19.92 kB / 1.194 GB, free: 4.453 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.2851, allocations: 4 kB / 1.194 GB, free: 4.449 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.2851, allocations: 4 kB / 1.194 GB, free: 4.445 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.2852, allocations: 15.91 kB / 1.194 GB, free: 4.43 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2852, allocations: 11.94 kB / 1.194 GB, free: 4.418 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2853, allocations: 47.75 kB / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2853, allocations: 0 / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2853, allocations: 4 kB / 1.194 GB, free: 4.367 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2853, allocations: 3.938 kB / 1.194 GB, free: 4.363 MB / 0.8263 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.0005876/0.2859, allocations: 282.2 kB / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2859, allocations: 15.98 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.286, allocations: 4.891 kB / 1.194 GB, free: 4.035 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2861, allocations: 110.5 kB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2861, allocations: 4.375 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.2862, allocations: 4.375 kB / 1.194 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.2864, allocations: 70.2 kB / 1.195 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2864, allocations: 4.172 kB / 1.195 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2864, allocations: 7.938 kB / 1.195 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2865, allocations: 4 kB / 1.195 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.2867, allocations: 63.92 kB / 1.195 GB, free: 3.742 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2872, allocations: 236 kB / 1.195 GB, free: 3.469 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.2874, allocations: 58.47 kB / 1.195 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.2875, allocations: 36.92 kB / 1.195 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2876, allocations: 7.984 kB / 1.195 GB, free: 3.355 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.2876, allocations: 34.55 kB / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2876, allocations: 0 / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005677/0.2882, allocations: 133.5 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2882, allocations: 55.41 kB / 1.195 GB, free: 3.109 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.2883, allocations: 109.8 kB / 1.195 GB, free: 2.992 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2884, allocations: 25.7 kB / 1.195 GB, free: 2.961 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.2884, allocations: 92.08 kB / 1.195 GB, free: 2.867 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2885, allocations: 9.734 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2885, allocations: 13.72 kB / 1.195 GB, free: 2.84 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2887, allocations: 314.8 kB / 1.196 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2888, allocations: 35.95 kB / 1.196 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.289, allocations: 31.97 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.2892, allocations: 72.72 kB / 1.196 GB, free: 2.383 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2892, allocations: 3.938 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.2896, allocations: 101.6 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2896, allocations: 4 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2896, allocations: 0 / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2896, allocations: 0 / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2898, allocations: 19.97 kB / 1.196 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2898, allocations: 0 / 1.196 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.273e-05/0.2898, allocations: 19.94 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2898, allocations: 4 kB / 1.196 GB, free: 2.227 MB / 0.8263 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 9.646e-05/0.2899, allocations: 113.8 kB / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.29, allocations: 4 kB / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.29, allocations: 7.984 kB / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.29, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.29, allocations: 0 / 1.196 GB, free: 2.086 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.29, allocations: 4 kB / 1.196 GB, free: 2.082 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.2902, allocations: 144.6 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2902, allocations: 4 kB / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.123e-05/0.2903, allocations: 15.92 kB / 1.196 GB, free: 1.879 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2903, allocations: 0 / 1.196 GB, free: 1.879 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2903, allocations: 7.984 kB / 1.196 GB, free: 1.871 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2903, allocations: 0 / 1.196 GB, free: 1.871 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2903, allocations: 0 / 1.196 GB, free: 1.871 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.2907, allocations: 203.7 kB / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.2907, allocations: 0 / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2907, allocations: 4 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2908, allocations: 11.97 kB / 1.196 GB, free: 1.641 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.2909, allocations: 8 kB / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2909, allocations: 0 / 1.196 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.291, allocations: 91.27 kB / 1.197 GB, free: 1.543 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.291, allocations: 0 / 1.197 GB, free: 1.543 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002186/0.2912, allocations: 8 kB / 1.197 GB, free: 1.535 MB / 0.8263 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.0001381/0.2913, allocations: 99.12 kB / 1.197 GB, free: 1.43 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.000342/0.2917, allocations: 67.92 kB / 1.197 GB, free: 1.363 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2917, allocations: 0 / 1.197 GB, free: 1.363 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2918, allocations: 39.95 kB / 1.197 GB, free: 1.324 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2922, allocations: 14.28 kB / 1.197 GB, free: 1.312 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.2926, allocations: 125.4 kB / 1.197 GB, free: 1.164 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.293, allocations: 0.6884 MB / 1.198 GB, free: 460 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.293, allocations: 4 kB / 1.198 GB, free: 456 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.293, allocations: 11.44 kB / 1.198 GB, free: 444 kB / 0.8263 GB Notification: Performance of SimCode: time 3e-07/0.293, allocations: 0 / 1.198 GB, free: 444 kB / 0.8263 GB Notification: Performance of Templates: time 0.004076/0.2971, allocations: 0.7399 MB / 1.198 GB, free: 15.7 MB / 0.8419 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: 8.124087285250425] Failed to read output from testmodel.py, exit status != 0: 0.305880393832922 0.321536317 0.033097219000000004 Calling exit ...