Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.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.0007953/0.0007953, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.0008517/0.0008517, allocations: 218.2 kB / 22.25 MB, free: 3.699 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.9501/0.9501, allocations: 230.6 MB / 256 MB, free: 9.781 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.03734/0.03734, allocations: 12.18 MB / 324.6 MB, free: 6.27 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.0005603/0.0005603, allocations: 39.86 kB / 384.1 MB, free: 10.66 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.662/1.662, allocations: 353.8 MB / 0.7787 GB, free: 3.156 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: "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [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.001476/0.001476, allocations: 124.3 kB / 1.06 GB, free: 24.98 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 134.9 MB / 1.192 GB, free: 7.902 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001567/0.2352, allocations: 0.7241 MB / 1.192 GB, free: 7.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2364, allocations: 1.32 MB / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.2364, allocations: 0 / 1.194 GB, free: 5.848 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.2364, allocations: 7.875 kB / 1.194 GB, free: 5.84 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.2365, allocations: 23.78 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.2371, allocations: 250.4 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2374, allocations: 251.6 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.2375, allocations: 16.22 kB / 1.194 GB, free: 5.312 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.2376, allocations: 103.8 kB / 1.194 GB, free: 5.211 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2378, allocations: 95.73 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.2378, allocations: 24 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.2379, allocations: 39.97 kB / 1.195 GB, free: 5.055 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.2379, allocations: 31.92 kB / 1.195 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.238, allocations: 91.73 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.2382, allocations: 219.6 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2382, allocations: 4 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2382, allocations: 4 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2382, allocations: 0 / 1.195 GB, free: 4.711 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006103/0.2388, allocations: 425.3 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2388, allocations: 8.031 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2389, allocations: 46.67 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.2389, allocations: 16.89 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2393, allocations: 198.5 kB / 1.196 GB, free: 3.953 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.2393, allocations: 8.375 kB / 1.196 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.2394, allocations: 24.36 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2395, allocations: 139.6 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2395, allocations: 0 / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2396, allocations: 7.984 kB / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2396, allocations: 0 / 1.196 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.2396, allocations: 63.95 kB / 1.196 GB, free: 3.703 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2407, allocations: 495.7 kB / 1.196 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.241, allocations: 133.2 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.241, allocations: 61.72 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2411, allocations: 3.984 kB / 1.196 GB, free: 2.953 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.2413, allocations: 205 kB / 1.197 GB, free: 2.734 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.2413, allocations: 3.938 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.0003834/0.2417, allocations: 308.4 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2418, allocations: 93.03 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.2419, allocations: 122 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2419, allocations: 45.69 kB / 1.197 GB, free: 2.137 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.242, allocations: 96.64 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.242, allocations: 59.58 kB / 1.197 GB, free: 1.98 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.2421, allocations: 73.67 kB / 1.197 GB, free: 1.902 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.2422, allocations: 322.8 kB / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2423, allocations: 84.23 kB / 1.198 GB, free: 1.492 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.2424, allocations: 164.1 kB / 1.198 GB, free: 1.305 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2426, allocations: 251 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2426, allocations: 0 / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003829/0.243, allocations: 355.5 kB / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.2431, allocations: 67.39 kB / 1.199 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2431, allocations: 0 / 1.199 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2431, allocations: 4 kB / 1.199 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.58e-05/0.2431, allocations: 32.23 kB / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2432, allocations: 8.219 kB / 1.199 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2433, allocations: 63.83 kB / 1.199 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2433, allocations: 19.98 kB / 1.199 GB, free: 464 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 8.697e-05/0.2434, allocations: 143.7 kB / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.2434, allocations: 15.95 kB / 1.199 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.2435, allocations: 16.44 kB / 1.199 GB, free: 276 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2435, allocations: 7.938 kB / 1.199 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2435, allocations: 0 / 1.199 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2435, allocations: 3.984 kB / 1.199 GB, free: 264 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.244, allocations: 0.5904 MB / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.244, allocations: 0 / 1.199 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.244, allocations: 8 kB / 1.199 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.244, allocations: 7.938 kB / 1.199 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.244, allocations: 15.92 kB / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.244, allocations: 0 / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.244, allocations: 0 / 1.199 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.2443, allocations: 411.9 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.2443, allocations: 15.91 kB / 1.2 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2443, allocations: 15.92 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.2444, allocations: 19.92 kB / 1.2 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.2445, allocations: 23.95 kB / 1.2 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2445, allocations: 15.98 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.2445, allocations: 95.27 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2445, allocations: 3.938 kB / 1.2 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002687/0.2448, allocations: 48 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004803/0.2453, allocations: 0.9657 MB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.2456, allocations: 318.5 kB / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2456, allocations: 0 / 1.201 GB, free: 13.61 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.2457, allocations: 83.89 kB / 1.201 GB, free: 13.53 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.246, allocations: 36.62 kB / 1.201 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.2481, allocations: 2.285 MB / 1.204 GB, free: 11.06 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2483, allocations: 0.7047 MB / 1.204 GB, free: 10.33 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.2483, allocations: 21.48 kB / 1.204 GB, free: 10.31 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.2484, allocations: 35.42 kB / 1.204 GB, free: 10.27 MB / 0.8387 GB Notification: Performance of SimCode: time 5.01e-07/0.2484, allocations: 0 / 1.204 GB, free: 10.27 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.2665, allocations: 4.339 MB / 1.209 GB, free: 6.086 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/6.789, allocations: 8.656 kB / 1.209 GB, free: 6.082 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_Timer.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.067303479649127] Failed to read output from testmodel.py, exit status != 0: 6.864550607278943 6.873248834 6.633298624 Calling exit ...