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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001468/0.001468, allocations: 218.6 kB / 22.25 MB, free: 5.125 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.984 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.8955/0.8955, allocations: 134 MB / 446.4 MB, free: 10.22 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.002029/0.002029, allocations: 66.8 kB / 0.6185 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2339, allocations: 85.91 MB / 0.7024 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002681/0.2366, allocations: 0.5997 MB / 0.703 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 5.531e-05/0.2366, allocations: 11.94 kB / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2367, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.2367, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.2367, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.997e-05/0.2367, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.2368, allocations: 0 / 0.703 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.2369, allocations: 8.391 kB / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.2369, allocations: 0 / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.2369, allocations: 0 / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.237, allocations: 0 / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.987e-06/0.237, allocations: 0 / 0.703 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.237, allocations: 8 kB / 0.703 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.237, allocations: 0 / 0.703 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.919e-05/0.2371, allocations: 3.984 kB / 0.703 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2371, allocations: 0 / 0.703 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2371, allocations: 4 kB / 0.703 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.2371, allocations: 0 / 0.703 GB, free: 0.7969 MB / 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.0003741/0.2375, allocations: 230.7 kB / 0.7033 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.2375, allocations: 16 kB / 0.7033 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.2376, allocations: 34.73 kB / 0.7033 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.2376, allocations: 0.9375 kB / 0.7033 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2377, allocations: 114.5 kB / 0.7034 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2377, allocations: 384 / 0.7034 GB, free: 352 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.2377, allocations: 4.375 kB / 0.7034 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2379, allocations: 30.2 kB / 0.7034 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2379, allocations: 3.938 kB / 0.7034 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2379, allocations: 0 / 0.7034 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2379, allocations: 0 / 0.7034 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.2379, allocations: 4 kB / 0.7034 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.2381, allocations: 116.8 kB / 0.7036 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.2382, allocations: 26.67 kB / 0.7036 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.2382, allocations: 8.797 kB / 0.7036 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2382, allocations: 0 / 0.7036 GB, free: 96 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.2383, allocations: 30.56 kB / 0.7036 GB, free: 56 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2383, allocations: 0 / 0.7036 GB, free: 56 kB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001764/0.2384, allocations: 41.59 kB / 0.7037 GB, free: 8 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2385, allocations: 55.53 kB / 0.7037 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.2386, allocations: 93.86 kB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2386, allocations: 29.64 kB / 0.7038 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.2387, allocations: 80.14 kB / 0.7039 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.2387, allocations: 0 / 0.7039 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2388, allocations: 17.7 kB / 0.7039 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002685/0.2391, allocations: 310.8 kB / 0.7042 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.2391, allocations: 0 / 0.7042 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.2391, allocations: 7.938 kB / 0.7042 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.2391, allocations: 12.86 kB / 0.7042 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2391, allocations: 0 / 0.7042 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.221e-05/0.2392, allocations: 29.7 kB / 0.7043 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2392, allocations: 8 kB / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2392, allocations: 3.938 kB / 0.7043 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2393, allocations: 3.984 kB / 0.7043 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.2393, allocations: 0 / 0.7043 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2393, allocations: 3.984 kB / 0.7043 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.2394, allocations: 8.094 kB / 0.7043 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2394, allocations: 3.938 kB / 0.7043 GB, free: 15.3 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 0.000112/0.2395, allocations: 110.4 kB / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.2395, allocations: 0 / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.2395, allocations: 6.938 kB / 0.7044 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2395, allocations: 0 / 0.7044 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2395, allocations: 0 / 0.7044 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2395, allocations: 4 kB / 0.7044 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.2397, allocations: 120.8 kB / 0.7045 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2397, allocations: 8 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.2397, allocations: 0 / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.2397, allocations: 4 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2397, allocations: 3.938 kB / 0.7045 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2397, allocations: 0 / 0.7045 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2397, allocations: 0 / 0.7045 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.2398, allocations: 53.14 kB / 0.7046 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.2398, allocations: 7.984 kB / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2398, allocations: 7.969 kB / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.2398, allocations: 0 / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.2399, allocations: 0 / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2399, allocations: 0 / 0.7046 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.2399, allocations: 79.22 kB / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2399, allocations: 0 / 0.7047 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003182/0.2402, allocations: 4 kB / 0.7047 GB, free: 14.82 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.0005478/0.2408, allocations: 0.589 MB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.791e-05/0.2409, allocations: 7.938 kB / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2409, allocations: 0 / 0.7053 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.2409, allocations: 3.938 kB / 0.7053 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.2411, allocations: 6.25 kB / 0.7053 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.2415, allocations: 98.89 kB / 0.7054 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.242, allocations: 0.6805 MB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.242, allocations: 0 / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.242, allocations: 7.438 kB / 0.7061 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.242, allocations: 0 / 0.7061 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.2779, allocations: 0.9879 MB / 0.707 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.29, allocations: 0 / 0.707 GB, free: 12.48 MB / 0.5294 GB " [Timeout remaining time 649] (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.050127864000387] Failed to read output from testmodel.py, exit status != 0: 11.389778461001697 11.406213958 11.165794555 Calling exit ...