Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.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.0007164/0.0007164, 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.0007492/0.0007492, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.8817/0.8817, allocations: 230.6 MB / 256 MB, free: 9.602 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.0359/0.0359, allocations: 12.19 MB / 324.6 MB, free: 6.105 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.000423/0.000423, allocations: 35.92 kB / 384.1 MB, free: 10.52 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.5/1.5, allocations: 353.8 MB / 0.7787 GB, free: 4.594 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.Multiply,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Multiply",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.001329/0.001329, allocations: 123.2 kB / 1.06 GB, free: 24.83 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.186, allocations: 134.9 MB / 1.192 GB, free: 7.527 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00242/0.1884, allocations: 1.971 MB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1898, allocations: 1.283 MB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1899, allocations: 3.938 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1902, allocations: 171.4 kB / 1.195 GB, free: 4.09 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.1906, allocations: 207.2 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1908, allocations: 163.6 kB / 1.195 GB, free: 3.727 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1911, allocations: 339 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1912, allocations: 33.2 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1913, allocations: 155.4 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1915, allocations: 159.3 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1915, allocations: 16 kB / 1.196 GB, free: 3.035 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.1916, allocations: 59.98 kB / 1.196 GB, free: 2.977 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.1917, allocations: 91.72 kB / 1.196 GB, free: 2.887 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1917, allocations: 99.27 kB / 1.196 GB, free: 2.789 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1921, allocations: 390.3 kB / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1921, allocations: 0 / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1921, allocations: 0 / 1.197 GB, free: 2.406 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1921, allocations: 0 / 1.197 GB, free: 2.406 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.0006815/0.1928, allocations: 0.5741 MB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1928, allocations: 12.03 kB / 1.197 GB, free: 1.789 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1928, allocations: 38.73 kB / 1.197 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1929, allocations: 36.7 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1932, allocations: 320.3 kB / 1.198 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1932, allocations: 8 kB / 1.198 GB, free: 1.359 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1932, allocations: 7.984 kB / 1.198 GB, free: 1.352 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1934, allocations: 109.5 kB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1934, allocations: 7.984 kB / 1.198 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1934, allocations: 7.984 kB / 1.198 GB, free: 1.223 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1934, allocations: 3.938 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.1935, allocations: 75.89 kB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1941, allocations: 447.6 kB / 1.198 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1943, allocations: 134.7 kB / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.1944, allocations: 44.83 kB / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1944, allocations: 4 kB / 1.198 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.1945, allocations: 123.3 kB / 1.199 GB, free: 348 kB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1945, allocations: 4 kB / 1.199 GB, free: 344 kB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.000348/0.1949, allocations: 229.3 kB / 1.199 GB, free: 108 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.1949, allocations: 51.41 kB / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.1953, allocations: 0.5367 MB / 1.199 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1953, allocations: 29.7 kB / 1.199 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.1954, allocations: 180.4 kB / 1.2 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1954, allocations: 31.66 kB / 1.2 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1955, allocations: 73.95 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.1956, allocations: 350.8 kB / 1.2 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1957, allocations: 104.5 kB / 1.2 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1959, allocations: 131.6 kB / 1.2 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1961, allocations: 198.5 kB / 1.2 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1961, allocations: 0 / 1.2 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003341/0.1964, allocations: 341.2 kB / 1.201 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1964, allocations: 11.94 kB / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1964, allocations: 0 / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1964, allocations: 4 kB / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1966, allocations: 51.91 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1966, allocations: 4 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.1966, allocations: 15.94 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.1966, allocations: 12 kB / 1.201 GB, free: 13.93 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,reaToInt2.y,reaToInt1.y,product.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.000121/0.1968, allocations: 181.7 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1968, allocations: 39.7 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.1971, allocations: 210.9 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1971, allocations: 4 kB / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1971, allocations: 0 / 1.201 GB, free: 13.5 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1971, allocations: 7.922 kB / 1.201 GB, free: 13.49 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1973, allocations: 260.6 kB / 1.201 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1973, allocations: 0 / 1.201 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.1973, allocations: 15.98 kB / 1.201 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1973, allocations: 3.938 kB / 1.202 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1973, allocations: 4 kB / 1.202 GB, free: 13.17 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1973, allocations: 8 kB / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1973, allocations: 0 / 1.202 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1975, allocations: 224.8 kB / 1.202 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.1976, allocations: 47.69 kB / 1.202 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1976, allocations: 4 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.1976, allocations: 7.938 kB / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.1977, allocations: 23.97 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1977, allocations: 7.984 kB / 1.202 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002128/0.1979, allocations: 327.1 kB / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.1979, allocations: 0 / 1.202 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001958/0.1981, allocations: 63.94 kB / 1.202 GB, free: 12.45 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,product.y,reaToInt1.y,reaToInt2.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 (15): * Single equations (assignments): 11 * 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.001068/0.1992, allocations: 1.113 MB / 1.203 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.1994, allocations: 191.8 kB / 1.203 GB, free: 11.31 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1994, allocations: 0 / 1.203 GB, free: 11.31 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.1995, allocations: 67.89 kB / 1.204 GB, free: 11.25 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1998, allocations: 97.23 kB / 1.204 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.2023, allocations: 3.227 MB / 1.207 GB, free: 7.84 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2024, allocations: 183.8 kB / 1.207 GB, free: 7.645 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 9.78e-05/0.2025, allocations: 54.92 kB / 1.207 GB, free: 7.59 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2026, allocations: 115.4 kB / 1.207 GB, free: 7.48 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2026, allocations: 0 / 1.207 GB, free: 7.48 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.2217, allocations: 8.341 MB / 1.215 GB, free: 15.24 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.139/6.36, allocations: 13.59 kB / 1.215 GB, free: 15.23 MB / 0.8543 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply_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_Multiply.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.339630072936416] Failed to read output from testmodel.py, exit status != 0: 6.454558812081814 6.463121086 6.269356002 Calling exit ...