Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0008756/0.0008756, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001049/0.001049, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9532/0.9532, allocations: 230.6 MB / 256 MB, free: 9.586 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.03766/0.03766, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0005514/0.0005514, allocations: 35.94 kB / 384.1 MB, free: 10.51 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.69/1.69, allocations: 353.9 MB / 0.7787 GB, free: 4.578 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.TimerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001522/0.001522, allocations: 122.8 kB / 1.06 GB, free: 24.77 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 134.9 MB / 1.192 GB, free: 7.512 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001532/0.2408, allocations: 0.6449 MB / 1.192 GB, free: 6.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2421, allocations: 1.192 MB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.2422, allocations: 4 kB / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.2422, allocations: 3.938 kB / 1.193 GB, free: 5.656 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.634e-05/0.2423, allocations: 7.922 kB / 1.193 GB, free: 5.648 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.243, allocations: 143.3 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.2432, allocations: 143.7 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2434, allocations: 11.97 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.2435, allocations: 67.84 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2436, allocations: 43.86 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.2437, allocations: 12 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.233e-05/0.2438, allocations: 20 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.2438, allocations: 27.91 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.2439, allocations: 43.91 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.2442, allocations: 131.9 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2442, allocations: 0 / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.987e-06/0.2442, allocations: 0 / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2442, allocations: 3.938 kB / 1.194 GB, free: 5.016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006595/0.2448, allocations: 347.8 kB / 1.194 GB, free: 4.637 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.2449, allocations: 12.03 kB / 1.194 GB, free: 4.625 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.2449, allocations: 34.73 kB / 1.194 GB, free: 4.582 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.245, allocations: 12.89 kB / 1.195 GB, free: 4.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.2456, allocations: 154.6 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2456, allocations: 12.36 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2457, allocations: 8.375 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2458, allocations: 89.94 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2458, allocations: 0 / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2458, allocations: 8 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2458, allocations: 0 / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.2459, allocations: 39.91 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2464, allocations: 303.7 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2465, allocations: 78.55 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.2466, allocations: 32.88 kB / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2466, allocations: 0 / 1.195 GB, free: 3.773 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.2468, allocations: 135.3 kB / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.2468, allocations: 0 / 1.195 GB, free: 3.629 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003752/0.2472, allocations: 203.7 kB / 1.196 GB, free: 3.426 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.2473, allocations: 63.34 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2474, allocations: 105.8 kB / 1.196 GB, free: 3.238 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2474, allocations: 33.7 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.2475, allocations: 92.28 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2475, allocations: 27.8 kB / 1.196 GB, free: 3.078 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.2476, allocations: 49.69 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2477, allocations: 326.8 kB / 1.196 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2478, allocations: 73.67 kB / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2479, allocations: 123.8 kB / 1.196 GB, free: 2.477 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.248, allocations: 137.9 kB / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.248, allocations: 0 / 1.197 GB, free: 2.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002723/0.2483, allocations: 245 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.2484, allocations: 39.77 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2484, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2484, allocations: 0 / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.2485, allocations: 11.94 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2485, allocations: 11.92 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2486, allocations: 39.86 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2486, allocations: 8 kB / 1.197 GB, free: 1.949 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 8.217e-05/0.2487, allocations: 133.8 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.2487, allocations: 7.953 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.2487, allocations: 8.438 kB / 1.197 GB, free: 1.789 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2487, allocations: 4 kB / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2487, allocations: 0 / 1.197 GB, free: 1.785 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2487, allocations: 7.984 kB / 1.197 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.249, allocations: 399.9 kB / 1.197 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.249, allocations: 0 / 1.197 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.2491, allocations: 11.98 kB / 1.197 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2491, allocations: 4 kB / 1.197 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2491, allocations: 4 kB / 1.197 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2491, allocations: 0 / 1.197 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2491, allocations: 0 / 1.197 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.2493, allocations: 275.3 kB / 1.198 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.2493, allocations: 15.88 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2493, allocations: 4 kB / 1.198 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.2494, allocations: 7.984 kB / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2494, allocations: 19.91 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2494, allocations: 12 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.2495, allocations: 83.27 kB / 1.198 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2495, allocations: 3.938 kB / 1.198 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001843/0.2497, allocations: 36 kB / 1.198 GB, free: 0.8555 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005776/0.2502, allocations: 0.8121 MB / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2506, allocations: 201.1 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2506, allocations: 0 / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2507, allocations: 51.92 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.251, allocations: 19.92 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.2531, allocations: 1.829 MB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.2531, allocations: 75.31 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 6.057e-05/0.2532, allocations: 12.48 kB / 1.201 GB, free: 13.67 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.2533, allocations: 19.44 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of SimCode: time 1.203e-06/0.2533, allocations: 7.938 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.2735, allocations: 3.448 MB / 1.204 GB, free: 10.35 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/6.857, allocations: 11.72 kB / 1.204 GB, free: 10.34 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.268834734335542] Failed to read output from testmodel.py, exit status != 0: 6.93422965425998 6.943723173 6.697586394 Calling exit ...