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.001424/0.001424, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.789 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.06321/0.06321, allocations: 12.19 MB / 324.6 MB, free: 7.086 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.0007778/0.0007778, allocations: 30.39 kB / 384.1 MB, free: 47.52 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.554/2.554, allocations: 353.9 MB / 0.7787 GB, free: 1.648 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.003585/0.003585, allocations: 116.9 kB / 1.06 GB, free: 12.58 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3161, allocations: 134.9 MB / 1.192 GB, free: 5.785 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002072/0.3182, allocations: 0.6813 MB / 1.193 GB, free: 5.105 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3194, allocations: 0.8865 MB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.3194, allocations: 0 / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.3195, allocations: 11.92 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.3195, allocations: 7.922 kB / 1.194 GB, free: 4.188 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3197, allocations: 19.92 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.3198, allocations: 43.86 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3199, allocations: 11.98 kB / 1.194 GB, free: 4.113 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.32, allocations: 15.92 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.3201, allocations: 19.92 kB / 1.194 GB, free: 4.078 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3201, allocations: 0 / 1.194 GB, free: 4.078 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.3201, allocations: 4 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.3201, allocations: 15.98 kB / 1.194 GB, free: 4.059 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3201, allocations: 19.92 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3203, allocations: 39.81 kB / 1.194 GB, free: 4 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3203, allocations: 7.875 kB / 1.194 GB, free: 3.992 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3203, allocations: 0 / 1.194 GB, free: 3.992 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3203, allocations: 0 / 1.194 GB, free: 3.992 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.0005656/0.3208, allocations: 278.3 kB / 1.194 GB, free: 3.688 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3209, allocations: 15.97 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3209, allocations: 8.891 kB / 1.194 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.321, allocations: 114.5 kB / 1.194 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3211, allocations: 8.375 kB / 1.194 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3211, allocations: 384 / 1.194 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3214, allocations: 70.22 kB / 1.194 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.3214, allocations: 4.125 kB / 1.194 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3214, allocations: 3.938 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3214, allocations: 0 / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.3217, allocations: 75.84 kB / 1.195 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.3221, allocations: 204.6 kB / 1.195 GB, free: 3.133 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.3223, allocations: 58.53 kB / 1.195 GB, free: 3.066 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3225, allocations: 42.69 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3225, allocations: 4 kB / 1.195 GB, free: 3.02 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3225, allocations: 30.56 kB / 1.195 GB, free: 2.98 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3225, allocations: 4 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.3231, allocations: 125.5 kB / 1.195 GB, free: 2.848 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3231, allocations: 51.41 kB / 1.195 GB, free: 2.785 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3232, allocations: 117.8 kB / 1.195 GB, free: 2.66 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3233, allocations: 25.7 kB / 1.195 GB, free: 2.629 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.3233, allocations: 92.08 kB / 1.195 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3233, allocations: 11.95 kB / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3234, allocations: 17.72 kB / 1.195 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3235, allocations: 314.8 kB / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3237, allocations: 27.97 kB / 1.196 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3238, allocations: 31.97 kB / 1.196 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.3241, allocations: 72.72 kB / 1.196 GB, free: 2.051 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3241, allocations: 4 kB / 1.196 GB, free: 2.047 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003328/0.3245, allocations: 97.56 kB / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3245, allocations: 7.984 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3245, allocations: 0 / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3245, allocations: 0 / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3246, allocations: 27.92 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3246, allocations: 0 / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.3247, allocations: 15.94 kB / 1.196 GB, free: 1.895 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.3247, allocations: 0 / 1.196 GB, free: 1.895 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 0.0001419/0.3249, allocations: 105.8 kB / 1.196 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3249, allocations: 7.938 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.3249, allocations: 11.98 kB / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3249, allocations: 0 / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3249, allocations: 0 / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3249, allocations: 8 kB / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3251, allocations: 113.2 kB / 1.196 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3251, allocations: 0 / 1.196 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3252, allocations: 19.92 kB / 1.196 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3252, allocations: 0 / 1.196 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3252, allocations: 0 / 1.196 GB, free: 1.586 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3252, allocations: 4 kB / 1.196 GB, free: 1.582 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3252, allocations: 7.938 kB / 1.196 GB, free: 1.574 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.3256, allocations: 199.8 kB / 1.196 GB, free: 1.363 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.3256, allocations: 7.938 kB / 1.196 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3256, allocations: 48 / 1.196 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3258, allocations: 11.97 kB / 1.196 GB, free: 1.344 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3258, allocations: 11.98 kB / 1.196 GB, free: 1.332 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3258, allocations: 0 / 1.196 GB, free: 1.332 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.721e-05/0.3259, allocations: 91.27 kB / 1.196 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3259, allocations: 0 / 1.196 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002196/0.3261, allocations: 8 kB / 1.196 GB, free: 1.234 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.0001181/0.3262, allocations: 99.19 kB / 1.197 GB, free: 1.129 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.3266, allocations: 63.92 kB / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3266, allocations: 0 / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3267, allocations: 39.95 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.327, allocations: 9.25 kB / 1.197 GB, free: 1.02 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.3274, allocations: 129.4 kB / 1.197 GB, free: 0.8672 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.3274, allocations: 63.34 kB / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3275, allocations: 11.92 kB / 1.197 GB, free: 0.7734 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.3275, allocations: 11.44 kB / 1.197 GB, free: 0.7617 MB / 0.8263 GB Notification: Performance of SimCode: time 3.21e-07/0.3275, allocations: 0 / 1.197 GB, free: 0.7617 MB / 0.8263 GB Notification: Performance of Templates: time 0.003558/0.3311, allocations: 0.7973 MB / 1.198 GB, free: 15.98 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.547359332442284] Failed to read output from testmodel.py, exit status != 0: 0.3394973985850811 0.35457815200000004 0.031148594 Calling exit ...