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.0008194/0.0008194, allocations: 109.9 kB / 18.93 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.0008692/0.0008692, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9999/0.9999, allocations: 230.6 MB / 256 MB, free: 9.82 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.03758/0.03758, allocations: 12.17 MB / 324.6 MB, free: 6.285 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.0004479/0.0004479, allocations: 23.97 kB / 384.1 MB, free: 10.69 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.754/1.754, allocations: 353.8 MB / 0.7787 GB, free: 3.18 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.00147/0.00147, allocations: 121.2 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2591, allocations: 134.9 MB / 1.192 GB, free: 7.926 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00151/0.2607, allocations: 0.6581 MB / 1.192 GB, free: 7.27 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.262, allocations: 1.219 MB / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.262, allocations: 0 / 1.194 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.262, allocations: 3.938 kB / 1.194 GB, free: 6.035 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.2621, allocations: 19.86 kB / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.2626, allocations: 140.7 kB / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.2628, allocations: 147.7 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.2629, allocations: 7.984 kB / 1.194 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.2629, allocations: 59.89 kB / 1.194 GB, free: 5.672 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2631, allocations: 51.88 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.2631, allocations: 12 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.235e-05/0.2631, allocations: 27.98 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.2632, allocations: 27.91 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.2632, allocations: 43.91 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2634, allocations: 139.8 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2634, allocations: 4 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2634, allocations: 0 / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2634, allocations: 0 / 1.194 GB, free: 5.371 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.0004929/0.2639, allocations: 339.8 kB / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.264, allocations: 8.031 kB / 1.195 GB, free: 4.992 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.264, allocations: 38.75 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.264, allocations: 20.88 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.2643, allocations: 142.7 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.2644, allocations: 4.375 kB / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.2644, allocations: 20.36 kB / 1.195 GB, free: 4.738 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2645, allocations: 85.89 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2645, allocations: 0 / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.2645, allocations: 7.984 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2645, allocations: 0 / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.2646, allocations: 39.97 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.2651, allocations: 331.6 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2652, allocations: 74.55 kB / 1.195 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.2652, allocations: 32.84 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2653, allocations: 4 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.2655, allocations: 147.3 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.2655, allocations: 0 / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003146/0.2658, allocations: 197.6 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.2659, allocations: 55.41 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.2659, allocations: 109.8 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.266, allocations: 37.7 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.266, allocations: 92.12 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2661, allocations: 23.81 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.2661, allocations: 49.69 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2662, allocations: 326.8 kB / 1.196 GB, free: 3.031 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.2663, allocations: 43.98 kB / 1.196 GB, free: 2.988 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.2664, allocations: 85.28 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.2666, allocations: 143.9 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2666, allocations: 0 / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002619/0.2668, allocations: 211.3 kB / 1.197 GB, free: 2.512 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.2669, allocations: 37.7 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2669, allocations: 0 / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2669, allocations: 4 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.2669, allocations: 15.92 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.267, allocations: 0 / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2671, allocations: 39.86 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2671, allocations: 11.98 kB / 1.197 GB, free: 2.398 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 9.209e-05/0.2672, allocations: 133.7 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.2675, allocations: 11.95 kB / 1.197 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.2675, allocations: 12.42 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2675, allocations: 4 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2675, allocations: 0 / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2675, allocations: 0 / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2678, allocations: 408 kB / 1.197 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2678, allocations: 0 / 1.197 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.2679, allocations: 7.938 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2679, allocations: 4 kB / 1.197 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2679, allocations: 3.984 kB / 1.197 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2679, allocations: 4 kB / 1.197 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2679, allocations: 0 / 1.197 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.268, allocations: 263.4 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.2681, allocations: 11.89 kB / 1.198 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.2681, allocations: 11.98 kB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.2681, allocations: 8 kB / 1.198 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.2682, allocations: 19.91 kB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2682, allocations: 11.98 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.23e-05/0.2682, allocations: 87.58 kB / 1.198 GB, free: 1.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2682, allocations: 3.938 kB / 1.198 GB, free: 1.336 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000184/0.2684, allocations: 39.92 kB / 1.198 GB, free: 1.297 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.0004727/0.2689, allocations: 0.8032 MB / 1.199 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2691, allocations: 175.3 kB / 1.199 GB, free: 296 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2691, allocations: 3.938 kB / 1.199 GB, free: 292 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.2692, allocations: 39.98 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2694, allocations: 26.11 kB / 1.199 GB, free: 228 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2707, allocations: 1.713 MB / 1.201 GB, free: 14.4 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.2709, allocations: 0.6963 MB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.271, allocations: 4.5 kB / 1.201 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.488e-05/0.271, allocations: 23.42 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of SimCode: time 1.012e-06/0.271, allocations: 4 kB / 1.201 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2887, allocations: 2.946 MB / 1.204 GB, free: 10.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.486/6.774, allocations: 6.875 kB / 1.204 GB, free: 10.84 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 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.49761956743896] Failed to read output from testmodel.py, exit status != 0: 6.853263064287603 6.864130652 6.5986476210000005 Calling exit ...