Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007863/0.0007863, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009132/0.0009132, allocations: 208.1 kB / 22.25 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.8772/0.8772, 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.03677/0.03677, allocations: 12.19 MB / 324.6 MB, free: 6.18 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.0004045/0.0004045, allocations: 23.97 kB / 384.1 MB, free: 10.6 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.529/1.529, allocations: 353.9 MB / 0.7787 GB, free: 4.52 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.Reals.Validation.Modulo,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Modulo",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.001682/0.001682, allocations: 125 kB / 1.06 GB, free: 24.84 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2035, allocations: 134.9 MB / 1.192 GB, free: 7.453 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001398/0.2049, allocations: 0.6883 MB / 1.192 GB, free: 6.766 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.2057, allocations: 0.8904 MB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.2057, allocations: 0 / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.2057, allocations: 3.938 kB / 1.193 GB, free: 5.859 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.2058, allocations: 15.91 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.206, allocations: 15.98 kB / 1.193 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.434e-05/0.206, allocations: 39.86 kB / 1.193 GB, free: 5.789 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2062, allocations: 15.92 kB / 1.193 GB, free: 5.773 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.2062, allocations: 11.98 kB / 1.193 GB, free: 5.762 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.2062, allocations: 19.92 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2063, allocations: 4 kB / 1.193 GB, free: 5.738 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.2063, allocations: 8 kB / 1.193 GB, free: 5.73 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.2063, allocations: 11.92 kB / 1.193 GB, free: 5.719 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.2063, allocations: 15.92 kB / 1.193 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.47e-05/0.2064, allocations: 44.09 kB / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2064, allocations: 0 / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2064, allocations: 0 / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2064, allocations: 0 / 1.193 GB, free: 5.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003918/0.2068, allocations: 278.3 kB / 1.194 GB, free: 5.355 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2068, allocations: 12.03 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.2069, allocations: 42.67 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.355e-05/0.2069, allocations: 8.891 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.207, allocations: 110.5 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.207, allocations: 384 / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.207, allocations: 4.375 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2072, allocations: 70.22 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2072, allocations: 7.875 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.2072, allocations: 0 / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2072, allocations: 4 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2073, allocations: 67.92 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.2076, allocations: 243.8 kB / 1.194 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2077, allocations: 54.55 kB / 1.194 GB, free: 4.652 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.2078, allocations: 36.91 kB / 1.194 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.2078, allocations: 4 kB / 1.194 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2079, allocations: 34.56 kB / 1.194 GB, free: 4.566 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2079, allocations: 0 / 1.194 GB, free: 4.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003059/0.2082, allocations: 129.5 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2082, allocations: 51.41 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.2083, allocations: 117.8 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.2083, allocations: 25.7 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.2083, allocations: 88.09 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2083, allocations: 3.953 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.2084, allocations: 13.72 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.2084, allocations: 322.8 kB / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.2085, allocations: 27.97 kB / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.2086, allocations: 31.95 kB / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2087, allocations: 72.73 kB / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2087, allocations: 0 / 1.195 GB, free: 3.645 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001605/0.2089, allocations: 101.5 kB / 1.195 GB, free: 3.539 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2089, allocations: 9.719 kB / 1.195 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2089, allocations: 4 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2089, allocations: 0 / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.209, allocations: 11.98 kB / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.209, allocations: 0 / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.209, allocations: 15.94 kB / 1.195 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.209, allocations: 0 / 1.195 GB, free: 3.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.477e-05/0.2091, allocations: 121.8 kB / 1.195 GB, free: 3.371 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.2091, allocations: 4.328 kB / 1.195 GB, free: 3.367 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.2091, allocations: 8 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2091, allocations: 3.984 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2091, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2091, allocations: 0 / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2092, allocations: 140.6 kB / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2092, allocations: 0 / 1.196 GB, free: 3.168 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.2093, allocations: 23.91 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2093, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.2093, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2093, allocations: 0 / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2093, allocations: 8 kB / 1.196 GB, free: 3.137 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2095, allocations: 199.4 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.2095, allocations: 7.922 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.2095, allocations: 4 kB / 1.196 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.2096, allocations: 11.92 kB / 1.196 GB, free: 2.902 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.2096, allocations: 8 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.2096, allocations: 3.984 kB / 1.196 GB, free: 2.891 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.2096, allocations: 87.28 kB / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2096, allocations: 0 / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001412/0.2098, allocations: 8 kB / 1.196 GB, free: 2.797 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003887/0.2102, allocations: 0.7279 MB / 1.197 GB, free: 2.043 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2103, allocations: 71.92 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2103, allocations: 0 / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.2104, allocations: 39.89 kB / 1.197 GB, free: 1.934 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2107, allocations: 4 kB / 1.197 GB, free: 1.93 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.211, allocations: 164.5 kB / 1.197 GB, free: 1.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.2111, allocations: 67.34 kB / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.2111, allocations: 0 / 1.197 GB, free: 1.645 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.2111, allocations: 15.44 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of SimCode: time 8.01e-07/0.2111, allocations: 0 / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.226, allocations: 2.246 MB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.851/6.077, allocations: 15.14 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo_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_Reals_Validation_Modulo.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.10043065994978] Failed to read output from testmodel.py, exit status != 0: 6.152176972478628 6.160250487 5.952100841 Calling exit ...