Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.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.0008248/0.0008248, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008455/0.0008455, allocations: 218.3 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.9818/0.9818, allocations: 230.6 MB / 256 MB, free: 9.621 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.04008/0.04008, 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.0005614/0.0005614, allocations: 27.95 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.714/1.714, allocations: 353.8 MB / 0.7787 GB, free: 3.145 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.Integers.Validation.Equal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal",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.002281/0.002281, allocations: 120.3 kB / 1.06 GB, free: 25.1 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2178, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002502/0.2203, allocations: 2.037 MB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2219, allocations: 1.376 MB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.222, allocations: 3.938 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.2223, allocations: 167.4 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.2227, allocations: 211.2 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2229, allocations: 159.6 kB / 1.196 GB, free: 3.965 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.2233, allocations: 335 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.2234, allocations: 41.19 kB / 1.196 GB, free: 3.594 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.2236, allocations: 159.3 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2237, allocations: 167.4 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.2237, allocations: 16 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2238, allocations: 63.91 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.2239, allocations: 91.67 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.224, allocations: 131.1 kB / 1.197 GB, free: 2.977 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2243, allocations: 386.2 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2243, allocations: 0 / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2243, allocations: 0 / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2243, allocations: 7.938 kB / 1.197 GB, free: 2.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006771/0.225, allocations: 0.5625 MB / 1.198 GB, free: 1.996 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.225, allocations: 19.97 kB / 1.198 GB, free: 1.977 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.2251, allocations: 42.67 kB / 1.198 GB, free: 1.926 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.2251, allocations: 36.7 kB / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2255, allocations: 320.3 kB / 1.198 GB, free: 1.555 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2255, allocations: 4 kB / 1.198 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2255, allocations: 8 kB / 1.198 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2257, allocations: 109.5 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2257, allocations: 3.938 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2257, allocations: 12 kB / 1.198 GB, free: 1.414 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2257, allocations: 4 kB / 1.198 GB, free: 1.41 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2258, allocations: 55.95 kB / 1.198 GB, free: 1.355 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.2263, allocations: 467.6 kB / 1.199 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2265, allocations: 134.7 kB / 1.199 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/0.2266, allocations: 40.84 kB / 1.199 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2266, allocations: 3.984 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.2268, allocations: 127.2 kB / 1.199 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.2268, allocations: 0 / 1.199 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003298/0.2271, allocations: 221.4 kB / 1.199 GB, free: 316 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2271, allocations: 51.41 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.2275, allocations: 0.5211 MB / 1.2 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2275, allocations: 33.64 kB / 1.2 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.2276, allocations: 176.4 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2276, allocations: 35.73 kB / 1.2 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.2277, allocations: 65.97 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.2278, allocations: 354.8 kB / 1.2 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2279, allocations: 100.5 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2281, allocations: 139.6 kB / 1.2 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.2283, allocations: 174.5 kB / 1.201 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2283, allocations: 0 / 1.201 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003295/0.2286, allocations: 337.2 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2286, allocations: 7.938 kB / 1.201 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2286, allocations: 4 kB / 1.201 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2286, allocations: 0 / 1.201 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2288, allocations: 59.89 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2288, allocations: 0 / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.2288, allocations: 23.88 kB / 1.201 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2288, allocations: 8 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000152/0.229, allocations: 185.8 kB / 1.201 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.229, allocations: 39.7 kB / 1.201 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.2293, allocations: 199.1 kB / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2293, allocations: 4 kB / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2293, allocations: 0 / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2293, allocations: 0 / 1.201 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2295, allocations: 276.4 kB / 1.202 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2295, allocations: 4 kB / 1.202 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.2295, allocations: 15.98 kB / 1.202 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2295, allocations: 3.938 kB / 1.202 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2295, allocations: 4 kB / 1.202 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2295, allocations: 7.938 kB / 1.202 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2295, allocations: 0 / 1.202 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.2297, allocations: 212.8 kB / 1.202 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2298, allocations: 47.69 kB / 1.202 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2298, allocations: 8 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.2298, allocations: 4 kB / 1.202 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.2299, allocations: 15.97 kB / 1.202 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2299, allocations: 11.98 kB / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002289/0.2301, allocations: 323.1 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2301, allocations: 0 / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001965/0.2303, allocations: 55.94 kB / 1.202 GB, free: 12.71 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001009/0.2313, allocations: 1.069 MB / 1.203 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.2316, allocations: 183.8 kB / 1.204 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2316, allocations: 0 / 1.204 GB, free: 11.59 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.2317, allocations: 55.91 kB / 1.204 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2319, allocations: 101 kB / 1.204 GB, free: 11.45 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.2345, allocations: 3.184 MB / 1.207 GB, free: 8.176 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2347, allocations: 0.7909 MB / 1.208 GB, free: 7.359 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.2348, allocations: 54.94 kB / 1.208 GB, free: 7.305 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.2349, allocations: 115.4 kB / 1.208 GB, free: 7.195 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2349, allocations: 0 / 1.208 GB, free: 7.195 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.2542, allocations: 7.555 MB / 1.215 GB, free: 15.75 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.295, allocations: 1.203 kB / 1.215 GB, free: 15.75 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Equal.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.92942435387522] Failed to read output from testmodel.py, exit status != 0: 7.393116480670869 7.402308952 7.175532429 Calling exit ...