Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.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.001113/0.001113, allocations: 96.38 kB / 19.7 MB, free: 448 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.0009149/0.0009149, allocations: 211.2 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.022/1.022, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.04376/0.04376, allocations: 12.19 MB / 325.4 MB, free: 6.082 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.0005428/0.0005428, allocations: 27.97 kB / 384.9 MB, free: 10.5 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.879/1.879, allocations: 353.8 MB / 0.7794 GB, free: 4.598 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change") [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.001404/0.001404, allocations: 123.3 kB / 1.061 GB, free: 24.46 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.306, allocations: 134.9 MB / 1.193 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001763/0.3078, allocations: 0.7284 MB / 1.194 GB, free: 6.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.309, allocations: 1.18 MB / 1.195 GB, free: 5.098 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.3091, allocations: 4 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.3091, allocations: 3.938 kB / 1.195 GB, free: 5.09 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.3092, allocations: 15.86 kB / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3096, allocations: 135.4 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3098, allocations: 111.8 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.3101, allocations: 11.98 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.3102, allocations: 43.91 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.3103, allocations: 51.73 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3103, allocations: 12 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.3104, allocations: 20 kB / 1.195 GB, free: 4.699 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.3104, allocations: 15.98 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.3105, allocations: 35.86 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3106, allocations: 115.6 kB / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3106, allocations: 0 / 1.195 GB, free: 4.535 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3106, allocations: 4 kB / 1.195 GB, free: 4.531 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3106, allocations: 0 / 1.195 GB, free: 4.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005245/0.3112, allocations: 335.8 kB / 1.196 GB, free: 4.164 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3112, allocations: 8.031 kB / 1.196 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.3113, allocations: 12.89 kB / 1.196 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.3113, allocations: 110.5 kB / 1.196 GB, free: 4.012 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3114, allocations: 4.375 kB / 1.196 GB, free: 4.008 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.3114, allocations: 16.36 kB / 1.196 GB, free: 3.992 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3115, allocations: 66.17 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3115, allocations: 192 / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3116, allocations: 3.938 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3116, allocations: 0 / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3117, allocations: 39.95 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.3122, allocations: 264.4 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.3123, allocations: 58.55 kB / 1.196 GB, free: 3.523 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.3124, allocations: 36.91 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3124, allocations: 0 / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.3126, allocations: 83.36 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3126, allocations: 0 / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003191/0.3129, allocations: 145.5 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.3129, allocations: 55.34 kB / 1.197 GB, free: 3.176 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.313, allocations: 121.8 kB / 1.197 GB, free: 3.047 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.313, allocations: 33.7 kB / 1.197 GB, free: 3.008 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.3131, allocations: 96.03 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3131, allocations: 19.95 kB / 1.197 GB, free: 2.891 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3131, allocations: 37.7 kB / 1.197 GB, free: 2.848 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.3132, allocations: 322.8 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.3133, allocations: 85.67 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3134, allocations: 117.9 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3136, allocations: 141.9 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3136, allocations: 3.938 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002732/0.3139, allocations: 244.8 kB / 1.198 GB, free: 1.875 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.3139, allocations: 37.69 kB / 1.198 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3139, allocations: 0 / 1.198 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3139, allocations: 4.062 kB / 1.198 GB, free: 1.828 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.314, allocations: 19.92 kB / 1.198 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.314, allocations: 0 / 1.198 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3141, allocations: 40.03 kB / 1.198 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3141, allocations: 11.98 kB / 1.198 GB, free: 1.758 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.648e-05/0.3142, allocations: 124 kB / 1.198 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3142, allocations: 3.953 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.3142, allocations: 12.38 kB / 1.198 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3142, allocations: 0 / 1.198 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3142, allocations: 0 / 1.198 GB, free: 1.609 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3142, allocations: 3.984 kB / 1.198 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3145, allocations: 326 kB / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3145, allocations: 0 / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.3146, allocations: 8 kB / 1.198 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3146, allocations: 3.984 kB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.3146, allocations: 3.984 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3146, allocations: 400 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3146, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3147, allocations: 219.3 kB / 1.198 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.3148, allocations: 8 kB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3148, allocations: 3.938 kB / 1.198 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.3148, allocations: 7.984 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.3149, allocations: 11.98 kB / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.3149, allocations: 0 / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.548e-05/0.3149, allocations: 91.77 kB / 1.199 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3149, allocations: 4 kB / 1.199 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001731/0.3151, allocations: 31.92 kB / 1.199 GB, free: 0.8477 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001261/0.3152, allocations: 103.2 kB / 1.199 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.3155, allocations: 196.8 kB / 1.199 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3155, allocations: 0 / 1.199 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.3155, allocations: 39.91 kB / 1.199 GB, free: 500 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.3157, allocations: 14.38 kB / 1.199 GB, free: 488 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.3161, allocations: 188.7 kB / 1.199 GB, free: 264 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.3161, allocations: 75.58 kB / 1.199 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.3161, allocations: 11.44 kB / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.3161, allocations: 0 / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of Templates: time 0.002205/0.3183, allocations: 1.275 MB / 1.2 GB, free: 14.89 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.288101800717413] Failed to read output from testmodel.py, exit status != 0: 0.32389670703560114 0.335923637 0.022867019000000002 Calling exit ...