Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.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.0007986/0.0007986, allocations: 101.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.001061/0.001061, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.8893/0.8893, allocations: 230.6 MB / 256 MB, free: 9.605 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.0364/0.0364, allocations: 12.2 MB / 324.6 MB, free: 6.164 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.0005297/0.0005297, allocations: 31.94 kB / 384.1 MB, free: 10.59 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.513/1.513, allocations: 353.9 MB / 0.7787 GB, free: 4.566 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.Utilities.Validation.Assert,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Utilities_Validation_Assert",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.00136/0.00136, allocations: 126 kB / 1.06 GB, free: 24.82 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1934, allocations: 134.9 MB / 1.192 GB, free: 7.574 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00133/0.1947, allocations: 0.5788 MB / 1.192 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.1957, allocations: 1.153 MB / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.1958, allocations: 0 / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.1958, allocations: 0 / 1.193 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.1958, allocations: 11.92 kB / 1.193 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.1962, allocations: 127.6 kB / 1.193 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.1963, allocations: 83.89 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.1964, allocations: 4 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1965, allocations: 35.91 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.1965, allocations: 31.95 kB / 1.194 GB, free: 5.547 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1966, allocations: 8 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.1966, allocations: 15.98 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.1966, allocations: 15.88 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1967, allocations: 23.97 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1968, allocations: 84.02 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1968, allocations: 0 / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1968, allocations: 0 / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.1968, allocations: 0 / 1.194 GB, free: 5.402 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003397/0.1971, allocations: 300 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1972, allocations: 12.03 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.1972, allocations: 34.75 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.1972, allocations: 4.938 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.1973, allocations: 106.5 kB / 1.194 GB, free: 4.883 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1973, allocations: 4.375 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1973, allocations: 4.375 kB / 1.194 GB, free: 4.875 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.1974, allocations: 67.95 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1974, allocations: 3.938 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.1974, allocations: 3.938 kB / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1974, allocations: 0 / 1.194 GB, free: 4.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.1975, allocations: 7.938 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/0.1977, allocations: 248 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.1978, allocations: 22.52 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.148e-05/0.1978, allocations: 8.859 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.1978, allocations: 4.062 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/0.1982, allocations: 92.97 kB / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1982, allocations: 0 / 1.195 GB, free: 4.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001506/0.1983, allocations: 57.69 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1983, allocations: 55.41 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.1984, allocations: 105.8 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1984, allocations: 29.7 kB / 1.195 GB, free: 4.062 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1984, allocations: 96.09 kB / 1.195 GB, free: 3.965 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.1984, allocations: 3.984 kB / 1.195 GB, free: 3.961 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1985, allocations: 29.7 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.1985, allocations: 314.8 kB / 1.195 GB, free: 3.609 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1986, allocations: 61.69 kB / 1.195 GB, free: 3.543 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1987, allocations: 76.25 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.1987, allocations: 88.44 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1987, allocations: 0 / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001568/0.1989, allocations: 180.9 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.1989, allocations: 43.72 kB / 1.196 GB, free: 3.109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1989, allocations: 3.938 kB / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1989, allocations: 0 / 1.196 GB, free: 3.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.381e-05/0.1989, allocations: 4 kB / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.199, allocations: 0 / 1.196 GB, free: 3.102 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.1991, allocations: 27.91 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1991, allocations: 7.984 kB / 1.196 GB, free: 3.066 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.591e-05/0.1991, allocations: 121.9 kB / 1.196 GB, free: 2.938 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-06/0.1991, allocations: 4 kB / 1.196 GB, free: 2.934 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.1992, allocations: 4 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1992, allocations: 0 / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1992, allocations: 0 / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1992, allocations: 0 / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/0.1993, allocations: 140.6 kB / 1.196 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1993, allocations: 3.938 kB / 1.196 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-06/0.1993, allocations: 0 / 1.196 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1993, allocations: 0 / 1.196 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1993, allocations: 7.984 kB / 1.196 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1993, allocations: 4 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1993, allocations: 0 / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.1993, allocations: 85 kB / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.1993, allocations: 4 kB / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.1994, allocations: 0 / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.1994, allocations: 320 / 1.196 GB, free: 2.621 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.1994, allocations: 7.984 kB / 1.196 GB, free: 2.613 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1994, allocations: 4 kB / 1.196 GB, free: 2.609 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.1994, allocations: 83.28 kB / 1.196 GB, free: 2.527 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.1994, allocations: 7.938 kB / 1.196 GB, free: 2.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001336/0.1995, allocations: 12 kB / 1.196 GB, free: 2.508 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002453/0.1998, allocations: 0.624 MB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.1999, allocations: 141.1 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1999, allocations: 0 / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.2, allocations: 7.938 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2001, allocations: 15.98 kB / 1.197 GB, free: 1.676 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.201, allocations: 1.481 MB / 1.198 GB, free: 72 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.2011, allocations: 67.53 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.2011, allocations: 0 / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.2011, allocations: 11.44 kB / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of SimCode: time 6.92e-07/0.2011, allocations: 0 / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.2155, allocations: 2.614 MB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.885/6.101, allocations: 4.844 kB / 1.201 GB, free: 13.52 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert_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_Utilities_Validation_Assert.fmu > AixLib_AixLib.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.12001949455589] Failed to read output from testmodel.py, exit status != 0: 6.175224412232637 6.185054938 5.986604328 Calling exit ...