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.000597/0.000597, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007109/0.0007109, allocations: 211.9 kB / 23.01 MB, free: 3.105 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 0.8996/0.8996, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.03727/0.03727, allocations: 12.19 MB / 325.4 MB, free: 3.406 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.000591/0.000591, allocations: 37.19 kB / 384.9 MB, free: 45.73 MB / 298.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.641/1.641, allocations: 353.8 MB / 0.7794 GB, free: 13.06 MB / 0.5262 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.001306/0.001306, allocations: 127.3 kB / 1.061 GB, free: 9.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2178, allocations: 134.9 MB / 1.193 GB, free: 2.586 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Change): time 0.001313/0.2191, allocations: 0.7405 MB / 1.194 GB, free: 1.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2201, allocations: 1.205 MB / 1.195 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.2201, allocations: 0 / 1.195 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.2202, allocations: 15.92 kB / 1.195 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.2202, allocations: 7.875 kB / 1.195 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.2205, allocations: 134.3 kB / 1.195 GB, free: 496 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2206, allocations: 119.7 kB / 1.195 GB, free: 376 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.2207, allocations: 8 kB / 1.195 GB, free: 368 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.2207, allocations: 43.91 kB / 1.195 GB, free: 324 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.2208, allocations: 47.88 kB / 1.195 GB, free: 276 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2208, allocations: 12 kB / 1.195 GB, free: 264 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.2209, allocations: 23.98 kB / 1.195 GB, free: 240 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.2209, allocations: 19.92 kB / 1.195 GB, free: 220 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.2209, allocations: 39.84 kB / 1.195 GB, free: 180 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.221, allocations: 115.6 kB / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.221, allocations: 0 / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/0.221, allocations: 0 / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2211, allocations: 0 / 1.195 GB, free: 64 kB / 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.000371/0.2214, allocations: 343.7 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.2215, allocations: 11.98 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.2215, allocations: 16.89 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.426e-05/0.2215, allocations: 110.5 kB / 1.196 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2216, allocations: 4.375 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.2216, allocations: 8.375 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.2217, allocations: 62.22 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.2217, allocations: 192 / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.2217, allocations: 7.938 kB / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2217, allocations: 0 / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.2218, allocations: 51.89 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003441/0.2221, allocations: 303.8 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2222, allocations: 58.55 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.2223, allocations: 36.97 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.2223, allocations: 0 / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.2224, allocations: 91.28 kB / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.2224, allocations: 0 / 1.197 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.2227, allocations: 133.7 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2227, allocations: 71.31 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.2228, allocations: 117.8 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2228, allocations: 33.7 kB / 1.197 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.2228, allocations: 96.03 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.2228, allocations: 19.89 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.2229, allocations: 37.7 kB / 1.197 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.223, allocations: 318.8 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.2231, allocations: 51.97 kB / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.2232, allocations: 84.25 kB / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.2233, allocations: 153.8 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2233, allocations: 0 / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002565/0.2236, allocations: 207.2 kB / 1.198 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2236, allocations: 37.69 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2236, allocations: 128 / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.2236, allocations: 4 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.2237, allocations: 11.98 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2237, allocations: 4 kB / 1.198 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.2238, allocations: 39.89 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.2238, allocations: 4 kB / 1.198 GB, free: 13.34 MB / 0.8387 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.284e-05/0.2239, allocations: 131.6 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.2239, allocations: 7.953 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2239, allocations: 12.36 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2239, allocations: 7.984 kB / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2239, allocations: 0 / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2239, allocations: 0 / 1.198 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.2242, allocations: 349.5 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2242, allocations: 0 / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.2242, allocations: 15.98 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.2242, allocations: 3.938 kB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.2242, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2242, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.2242, allocations: 0 / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.2244, allocations: 215.4 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.2244, allocations: 7.984 kB / 1.199 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2244, allocations: 4 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.2244, allocations: 8.062 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2245, allocations: 3.984 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2245, allocations: 15.88 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.2245, allocations: 92.8 kB / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2245, allocations: 0 / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000172/0.2247, allocations: 23.94 kB / 1.199 GB, free: 12.38 MB / 0.8387 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.0001103/0.2248, allocations: 110.4 kB / 1.199 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.225, allocations: 159.7 kB / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.225, allocations: 7.938 kB / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.2251, allocations: 31.97 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.2253, allocations: 12.41 kB / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.2255, allocations: 196.4 kB / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.2259, allocations: 0.6885 MB / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.226, allocations: 11.44 kB / 1.2 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of SimCode: time 6.51e-07/0.226, allocations: 0 / 1.2 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of Templates: time 0.002127/0.2281, allocations: 1.254 MB / 1.201 GB, free: 9.863 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: 6.669981828890741] Failed to read output from testmodel.py, exit status != 0: 0.23321369104087353 0.24166660699999995 0.018863373000000003 Calling exit ...