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.0008584/0.0008584, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.0008516/0.0008516, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9774/0.9774, allocations: 230.6 MB / 256 MB, free: 9.793 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.04044/0.04044, allocations: 12.17 MB / 324.6 MB, free: 6.363 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.0004263/0.0004263, allocations: 31.94 kB / 384.1 MB, free: 10.77 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.748/1.748, allocations: 353.8 MB / 0.7787 GB, free: 3.117 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.001603/0.001603, allocations: 118 kB / 1.06 GB, free: 25.08 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2232, allocations: 134.9 MB / 1.192 GB, free: 7.891 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001562/0.2248, allocations: 0.6643 MB / 1.192 GB, free: 7.227 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.226, allocations: 1.215 MB / 1.194 GB, free: 6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.226, allocations: 4 kB / 1.194 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.2261, allocations: 3.938 kB / 1.194 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.2261, allocations: 11.92 kB / 1.194 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.2265, allocations: 142.2 kB / 1.194 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2267, allocations: 143.7 kB / 1.194 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.2268, allocations: 8 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.2269, allocations: 59.89 kB / 1.194 GB, free: 5.637 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.227, allocations: 51.88 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.227, allocations: 19.94 kB / 1.194 GB, free: 5.566 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.2271, allocations: 23.98 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.2271, allocations: 31.91 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.2272, allocations: 39.91 kB / 1.194 GB, free: 5.473 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2274, allocations: 139.8 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2274, allocations: 0 / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2274, allocations: 0 / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2274, allocations: 0 / 1.194 GB, free: 5.336 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.0004513/0.2278, allocations: 339.8 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2279, allocations: 12.03 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.2279, allocations: 38.75 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2279, allocations: 16.88 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.2283, allocations: 150.6 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.2283, allocations: 8.312 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2283, allocations: 16.36 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.2284, allocations: 81.95 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2285, allocations: 0 / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2285, allocations: 7.984 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2285, allocations: 4 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.2285, allocations: 43.91 kB / 1.195 GB, free: 4.555 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.2289, allocations: 323.7 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2291, allocations: 82.53 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.2291, allocations: 28.84 kB / 1.195 GB, free: 4.074 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2291, allocations: 8.156 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.2294, allocations: 145.6 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.2294, allocations: 0 / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0002768/0.2297, allocations: 197.6 kB / 1.196 GB, free: 3.715 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2297, allocations: 55.41 kB / 1.196 GB, free: 3.648 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.2298, allocations: 113.8 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2298, allocations: 33.7 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.2298, allocations: 96.06 kB / 1.196 GB, free: 3.391 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.2299, allocations: 27.8 kB / 1.196 GB, free: 3.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2299, allocations: 49.69 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.23, allocations: 322.8 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.2301, allocations: 47.98 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.2302, allocations: 84.25 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2303, allocations: 136.2 kB / 1.197 GB, free: 2.688 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2303, allocations: 4 kB / 1.197 GB, free: 2.684 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002642/0.2306, allocations: 215.2 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2306, allocations: 33.7 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2306, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2306, allocations: 0 / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.2307, allocations: 11.98 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2307, allocations: 7.938 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2308, allocations: 39.86 kB / 1.197 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2308, allocations: 16.11 kB / 1.197 GB, free: 2.348 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.185e-05/0.2309, allocations: 125.8 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.2309, allocations: 7.953 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.2309, allocations: 12.42 kB / 1.197 GB, free: 2.191 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2309, allocations: 7.938 kB / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2309, allocations: 0 / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2309, allocations: 0 / 1.197 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.2312, allocations: 413.4 kB / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2312, allocations: 0 / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.2312, allocations: 8 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2312, allocations: 0 / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2313, allocations: 7.984 kB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2313, allocations: 0 / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2313, allocations: 0 / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.2318, allocations: 265.5 kB / 1.198 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.2318, allocations: 15.89 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2318, allocations: 15.98 kB / 1.198 GB, free: 1.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.2319, allocations: 3.984 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2319, allocations: 19.92 kB / 1.198 GB, free: 1.387 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2319, allocations: 7.984 kB / 1.198 GB, free: 1.379 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.232, allocations: 83.28 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.232, allocations: 4 kB / 1.198 GB, free: 1.293 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001913/0.2321, allocations: 31.98 kB / 1.198 GB, free: 1.262 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.0004617/0.2326, allocations: 0.8037 MB / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.2329, allocations: 167.3 kB / 1.199 GB, free: 264 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2329, allocations: 4 kB / 1.199 GB, free: 260 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.2329, allocations: 50.8 kB / 1.199 GB, free: 212 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.2331, allocations: 25.88 kB / 1.199 GB, free: 188 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2345, allocations: 1.701 MB / 1.201 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.2346, allocations: 0.6924 MB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.2347, allocations: 12.48 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.2347, allocations: 19.44 kB / 1.201 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of SimCode: time 6.91e-07/0.2347, allocations: 0 / 1.201 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.2533, allocations: 2.953 MB / 1.204 GB, free: 10.81 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/6.556, allocations: 18.55 kB / 1.204 GB, free: 10.8 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: 10.990611490793526] Failed to read output from testmodel.py, exit status != 0: 6.632172583602369 6.640059104 6.411110777 Calling exit ...