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.001619/0.001619, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001564/0.001564, allocations: 215.1 kB / 22.25 MB, free: 5.242 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.797 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.0637/0.0637, allocations: 12.2 MB / 324.6 MB, free: 7.074 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.000775/0.000775, allocations: 32.16 kB / 384.1 MB, free: 47.36 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.658/2.658, allocations: 353.9 MB / 0.7787 GB, free: 1.629 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.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.003514/0.003514, allocations: 119.8 kB / 1.06 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3079, allocations: 134.9 MB / 1.192 GB, free: 5.766 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.003202/0.3111, allocations: 0.7115 MB / 1.193 GB, free: 5.059 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002691/0.3138, allocations: 1.188 MB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3139, allocations: 4 kB / 1.194 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.3139, allocations: 3.938 kB / 1.194 GB, free: 3.852 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.314, allocations: 11.88 kB / 1.194 GB, free: 3.84 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007996/0.3148, allocations: 134.5 kB / 1.194 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3151, allocations: 111.8 kB / 1.194 GB, free: 3.602 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3152, allocations: 11.98 kB / 1.194 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3153, allocations: 51.91 kB / 1.194 GB, free: 3.539 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3155, allocations: 43.81 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.3155, allocations: 8 kB / 1.194 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3156, allocations: 20 kB / 1.194 GB, free: 3.469 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.3157, allocations: 15.97 kB / 1.194 GB, free: 3.453 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 9.177e-05/0.3158, allocations: 39.84 kB / 1.194 GB, free: 3.414 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.316, allocations: 115.6 kB / 1.195 GB, free: 3.301 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.316, allocations: 4 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.414e-06/0.316, allocations: 0 / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.316, allocations: 0 / 1.195 GB, free: 3.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008978/0.3169, allocations: 335.8 kB / 1.195 GB, free: 2.93 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.317, allocations: 11.98 kB / 1.195 GB, free: 2.918 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.3171, allocations: 12.89 kB / 1.195 GB, free: 2.906 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.3173, allocations: 114.5 kB / 1.195 GB, free: 2.77 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3173, allocations: 8.359 kB / 1.195 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.3173, allocations: 4.375 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3176, allocations: 66.22 kB / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3176, allocations: 4.188 kB / 1.195 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3176, allocations: 11.86 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.3177, allocations: 3.984 kB / 1.195 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.318, allocations: 47.91 kB / 1.195 GB, free: 2.621 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.3187, allocations: 252.5 kB / 1.195 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.319, allocations: 62.55 kB / 1.195 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.3191, allocations: 32.91 kB / 1.196 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3191, allocations: 0 / 1.196 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003686/0.3195, allocations: 87.36 kB / 1.196 GB, free: 2.141 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.3195, allocations: 0 / 1.196 GB, free: 2.141 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0007289/0.3202, allocations: 153.6 kB / 1.196 GB, free: 1.984 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3203, allocations: 59.34 kB / 1.196 GB, free: 1.914 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3205, allocations: 117.8 kB / 1.196 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3205, allocations: 29.7 kB / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3206, allocations: 96.08 kB / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3206, allocations: 19.91 kB / 1.196 GB, free: 1.637 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3208, allocations: 33.7 kB / 1.196 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.321, allocations: 322.8 kB / 1.196 GB, free: 1.273 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.3213, allocations: 85.66 kB / 1.196 GB, free: 1.184 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3216, allocations: 119.3 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.3221, allocations: 145.9 kB / 1.197 GB, free: 0.8828 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3221, allocations: 0 / 1.197 GB, free: 0.8828 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008061/0.3229, allocations: 244.8 kB / 1.197 GB, free: 0.625 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.323, allocations: 41.69 kB / 1.197 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.323, allocations: 0 / 1.197 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.323, allocations: 4 kB / 1.197 GB, free: 0.5742 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3231, allocations: 16.11 kB / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3232, allocations: 0 / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.3235, allocations: 35.89 kB / 1.197 GB, free: 0.5234 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.3235, allocations: 8 kB / 1.197 GB, free: 0.5156 MB / 0.8263 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 0.0002049/0.3237, allocations: 129.7 kB / 1.197 GB, free: 388 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.3238, allocations: 3.953 kB / 1.197 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.3238, allocations: 16.36 kB / 1.197 GB, free: 364 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3238, allocations: 4 kB / 1.197 GB, free: 360 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3238, allocations: 0 / 1.197 GB, free: 360 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3238, allocations: 0 / 1.197 GB, free: 360 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.3246, allocations: 318 kB / 1.198 GB, free: 4 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3246, allocations: 0 / 1.198 GB, free: 4 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.3247, allocations: 11.98 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3247, allocations: 0 / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3247, allocations: 4 kB / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3247, allocations: 0 / 1.198 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3247, allocations: 11.94 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3253, allocations: 211.3 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3253, allocations: 8 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.3253, allocations: 4 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3255, allocations: 7.984 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3255, allocations: 7.984 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.3255, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001095/0.3256, allocations: 95.27 kB / 1.198 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3256, allocations: 4 kB / 1.198 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000489/0.3261, allocations: 27.94 kB / 1.198 GB, free: 15.6 MB / 0.8419 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.0002289/0.3264, allocations: 95.8 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006381/0.327, allocations: 196.9 kB / 1.198 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.327, allocations: 0 / 1.198 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3272, allocations: 44.16 kB / 1.198 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.3277, allocations: 14.33 kB / 1.198 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3282, allocations: 162.7 kB / 1.198 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.3284, allocations: 71.33 kB / 1.198 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.034e-05/0.3284, allocations: 4 kB / 1.198 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3285, allocations: 11.44 kB / 1.198 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3285, allocations: 4 kB / 1.198 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.007826/0.3363, allocations: 1.607 MB / 1.2 GB, free: 13.37 MB / 0.8419 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.612987969070673] Failed to read output from testmodel.py, exit status != 0: 0.3473934531211853 0.37417758300000004 0.052947110000000006 Calling exit ...