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.00139/0.00139, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001531/0.001531, allocations: 210.7 kB / 22.25 MB, free: 5.129 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.98 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.07631/0.07631, allocations: 12.19 MB / 324.6 MB, free: 7.27 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.0007144/0.0007144, allocations: 29.28 kB / 384.1 MB, free: 46.55 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.857/2.857, allocations: 353.8 MB / 0.7787 GB, free: 1.07 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.003557/0.003557, allocations: 119.3 kB / 1.061 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2759, allocations: 134.9 MB / 1.192 GB, free: 6.23 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001915/0.2778, allocations: 0.7323 MB / 1.193 GB, free: 5.5 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2795, allocations: 1.207 MB / 1.194 GB, free: 4.281 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.2796, allocations: 4 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.2796, allocations: 3.938 kB / 1.194 GB, free: 4.273 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.2797, allocations: 15.84 kB / 1.194 GB, free: 4.258 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.2802, allocations: 131.2 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2804, allocations: 115.8 kB / 1.194 GB, free: 4.02 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.2805, allocations: 11.98 kB / 1.194 GB, free: 4.008 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.2806, allocations: 47.89 kB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2807, allocations: 51.83 kB / 1.195 GB, free: 3.91 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2807, allocations: 12 kB / 1.195 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.2808, allocations: 23.98 kB / 1.195 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.2808, allocations: 15.97 kB / 1.195 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.2809, allocations: 39.86 kB / 1.195 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2811, allocations: 115.5 kB / 1.195 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2811, allocations: 0 / 1.195 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2811, allocations: 0 / 1.195 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2811, allocations: 0 / 1.195 GB, free: 3.707 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.0005959/0.2817, allocations: 343.8 kB / 1.195 GB, free: 3.332 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2817, allocations: 11.98 kB / 1.195 GB, free: 3.32 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.2818, allocations: 8.891 kB / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2819, allocations: 116.3 kB / 1.195 GB, free: 3.176 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2819, allocations: 4.375 kB / 1.195 GB, free: 3.172 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.2819, allocations: 12.38 kB / 1.195 GB, free: 3.16 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.2821, allocations: 58.22 kB / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.2821, allocations: 192 / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2821, allocations: 11.94 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2821, allocations: 4 kB / 1.195 GB, free: 3.082 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2823, allocations: 43.89 kB / 1.195 GB, free: 3.039 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2829, allocations: 299.8 kB / 1.196 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2831, allocations: 62.5 kB / 1.196 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2832, allocations: 36.95 kB / 1.196 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2832, allocations: 0 / 1.196 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2834, allocations: 91.36 kB / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2834, allocations: 0 / 1.196 GB, free: 2.492 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0004505/0.2839, allocations: 141.5 kB / 1.196 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2839, allocations: 59.34 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.284, allocations: 117.8 kB / 1.196 GB, free: 2.152 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.2841, allocations: 33.7 kB / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.2841, allocations: 92.09 kB / 1.196 GB, free: 2.02 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2842, allocations: 19.89 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.2842, allocations: 37.7 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2844, allocations: 322.8 kB / 1.197 GB, free: 1.633 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2846, allocations: 51.97 kB / 1.197 GB, free: 1.582 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2848, allocations: 84.25 kB / 1.197 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.2851, allocations: 153.8 kB / 1.197 GB, free: 1.312 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2851, allocations: 0 / 1.197 GB, free: 1.312 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004802/0.2855, allocations: 211.3 kB / 1.197 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.2856, allocations: 41.69 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2856, allocations: 0 / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2856, allocations: 0 / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.2857, allocations: 15.98 kB / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.2857, allocations: 4.312 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2859, allocations: 31.91 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2859, allocations: 7.984 kB / 1.197 GB, free: 0.9883 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.0001149/0.286, allocations: 137.7 kB / 1.197 GB, free: 0.8438 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.2861, allocations: 7.953 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2861, allocations: 8.375 kB / 1.197 GB, free: 0.8242 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2861, allocations: 4 kB / 1.197 GB, free: 0.8203 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2861, allocations: 3.984 kB / 1.197 GB, free: 0.8164 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2861, allocations: 0 / 1.197 GB, free: 0.8164 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.2866, allocations: 357.4 kB / 1.198 GB, free: 428 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2866, allocations: 0 / 1.198 GB, free: 428 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.2867, allocations: 11.98 kB / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2867, allocations: 0 / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2867, allocations: 0 / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2867, allocations: 0 / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2867, allocations: 0 / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.287, allocations: 215.4 kB / 1.198 GB, free: 184 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.287, allocations: 3.938 kB / 1.198 GB, free: 180 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2871, allocations: 7.984 kB / 1.198 GB, free: 172 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.2871, allocations: 8.062 kB / 1.198 GB, free: 164 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.2872, allocations: 7.984 kB / 1.198 GB, free: 156 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2872, allocations: 7.938 kB / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.2873, allocations: 92.91 kB / 1.198 GB, free: 56 kB / 0.8263 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2873, allocations: 0 / 1.198 GB, free: 56 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002744/0.2875, allocations: 27.94 kB / 1.198 GB, free: 28 kB / 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: 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.0001543/0.2877, allocations: 107.2 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.2881, allocations: 167.2 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2881, allocations: 0 / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.2882, allocations: 35.92 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2885, allocations: 13.48 kB / 1.198 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.2889, allocations: 162.7 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2892, allocations: 0.6891 MB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.2893, allocations: 4 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.2893, allocations: 11.44 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.2893, allocations: 4 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.004628/0.2939, allocations: 1.482 MB / 1.201 GB, free: 13.32 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.511217545717955] Failed to read output from testmodel.py, exit status != 0: 0.30226872116327286 0.31789060899999994 0.033588801 Calling exit ...