Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.001723/0.001723, allocations: 103.6 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002196/0.002196, allocations: 218.8 kB / 22.25 MB, free: 4.723 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8708/0.8708, allocations: 134 MB / 446.4 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.003091/0.003091, allocations: 67 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2179, allocations: 85.9 MB / 0.7023 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001777/0.2197, allocations: 0.6046 MB / 0.7029 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 3.36e-05/0.2197, allocations: 0 / 0.7029 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.2197, allocations: 3.938 kB / 0.7029 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.2197, allocations: 0 / 0.7029 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.2197, allocations: 0 / 0.7029 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.185e-05/0.2198, allocations: 0 / 0.7029 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.2198, allocations: 7.938 kB / 0.7029 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.2199, allocations: 4.406 kB / 0.7029 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.346e-05/0.2199, allocations: 0 / 0.7029 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.2199, allocations: 7.938 kB / 0.703 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2199, allocations: 0 / 0.703 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2199, allocations: 0 / 0.703 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.2199, allocations: 0 / 0.703 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.2199, allocations: 0 / 0.703 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.556e-05/0.22, allocations: 7.984 kB / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.22, allocations: 0 / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.22, allocations: 0 / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.22, allocations: 0 / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002894/0.2203, allocations: 238.7 kB / 0.7032 GB, free: 200 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2203, allocations: 8.031 kB / 0.7032 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.2204, allocations: 38.75 kB / 0.7032 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.2204, allocations: 0.9375 kB / 0.7032 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.2205, allocations: 110.5 kB / 0.7033 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2205, allocations: 384 / 0.7033 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.2205, allocations: 384 / 0.7033 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.2206, allocations: 30.2 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2206, allocations: 3.938 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.2206, allocations: 4 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2206, allocations: 3.984 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.2206, allocations: 3.984 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.2208, allocations: 120.8 kB / 0.7035 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.2208, allocations: 18.61 kB / 0.7035 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.2208, allocations: 8.922 kB / 0.7035 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.2208, allocations: 3.938 kB / 0.7035 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2209, allocations: 30.56 kB / 0.7036 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.2209, allocations: 0 / 0.7036 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.221, allocations: 45.58 kB / 0.7036 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.221, allocations: 55.34 kB / 0.7037 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.2211, allocations: 93.86 kB / 0.7037 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2211, allocations: 25.83 kB / 0.7038 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2211, allocations: 84.14 kB / 0.7038 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.2211, allocations: 0 / 0.7038 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.2212, allocations: 9.719 kB / 0.7039 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2213, allocations: 314.8 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.2213, allocations: 4 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.2213, allocations: 3.938 kB / 0.7042 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.2213, allocations: 8.859 kB / 0.7042 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2213, allocations: 0 / 0.7042 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.475e-05/0.2214, allocations: 37.62 kB / 0.7042 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2214, allocations: 12.09 kB / 0.7042 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2214, allocations: 7.922 kB / 0.7042 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2214, allocations: 0 / 0.7042 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.2215, allocations: 0 / 0.7042 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2215, allocations: 0 / 0.7042 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-06/0.2215, allocations: 0 / 0.7042 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2215, allocations: 8 kB / 0.7042 GB, free: 14.96 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 7.647e-05/0.2216, allocations: 109.8 kB / 0.7043 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-06/0.2216, allocations: 3.938 kB / 0.7043 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.2216, allocations: 6.938 kB / 0.7044 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2216, allocations: 4 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2216, allocations: 0 / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2216, allocations: 7.984 kB / 0.7044 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.022e-05/0.2217, allocations: 112.8 kB / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.2217, allocations: 0 / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.2217, allocations: 0 / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.2217, allocations: 4 kB / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2217, allocations: 3.938 kB / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2217, allocations: 0 / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2217, allocations: 0 / 0.7045 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.124e-05/0.2218, allocations: 65.12 kB / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-06/0.2218, allocations: 0 / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.2218, allocations: 3.938 kB / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-06/0.2218, allocations: 0 / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-06/0.2218, allocations: 3.938 kB / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.2218, allocations: 0 / 0.7045 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.2219, allocations: 83.22 kB / 0.7046 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2219, allocations: 0 / 0.7046 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001692/0.222, allocations: 0 / 0.7046 GB, free: 14.48 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0003804/0.2224, allocations: 0.593 MB / 0.7052 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.402e-05/0.2225, allocations: 8 kB / 0.7052 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2225, allocations: 0 / 0.7052 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-06/0.2225, allocations: 3.938 kB / 0.7052 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.2226, allocations: 0 / 0.7052 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.2229, allocations: 98.72 kB / 0.7053 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.2229, allocations: 59.22 kB / 0.7054 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.548e-06/0.2229, allocations: 0 / 0.7054 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.2229, allocations: 11.38 kB / 0.7054 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2229, allocations: 0 / 0.7054 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.2514, allocations: 1.383 MB / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.76, allocations: 14.12 kB / 0.7067 GB, free: 12.36 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.574533028062433] Failed to read output from testmodel.py, exit status != 0: 11.860696326941252 11.875674409 11.652664662 Calling exit ...