Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008952/0.0008952, 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.001637/0.001637, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9337/0.9337, allocations: 230.6 MB / 256 MB, free: 9.434 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7644/0.7644, allocations: 203.8 MB / 0.5042 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_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.0009104/0.0009104, allocations: 66.7 kB / 0.7181 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.523, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001538/0.5245, allocations: 0.5993 MB / 0.8183 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.119e-05/0.5246, allocations: 4.969 kB / 0.8183 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.5246, allocations: 0 / 0.8183 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.5246, allocations: 0 / 0.8183 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.5246, allocations: 4 kB / 0.8184 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.561e-05/0.5247, allocations: 4 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.5247, allocations: 0.75 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.5248, allocations: 2.922 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.5248, allocations: 0.5625 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.5248, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.5248, allocations: 1.688 kB / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-06/0.5248, allocations: 0 / 0.8184 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.5248, allocations: 3.984 kB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.5249, allocations: 3.938 kB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.109e-05/0.5249, allocations: 5.766 kB / 0.8184 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5249, allocations: 4.75 kB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5249, allocations: 0 / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5249, allocations: 0 / 0.8184 GB, free: 0.6445 MB / 0.6042 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.0001822/0.5251, allocations: 238 kB / 0.8186 GB, free: 396 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5252, allocations: 10 kB / 0.8186 GB, free: 396 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.5252, allocations: 31.69 kB / 0.8186 GB, free: 356 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.5252, allocations: 4.875 kB / 0.8187 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.347e-05/0.5252, allocations: 105.4 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5252, allocations: 4.312 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.5253, allocations: 1.469 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.5253, allocations: 32.09 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5253, allocations: 5.281 kB / 0.8188 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.5254, allocations: 0 / 0.8188 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5254, allocations: 0 / 0.8188 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.5254, allocations: 1.469 kB / 0.8188 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.683e-05/0.5255, allocations: 122.3 kB / 0.8189 GB, free: 20 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.5255, allocations: 18.52 kB / 0.8189 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.5255, allocations: 8.609 kB / 0.8189 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.5255, allocations: 0 / 0.8189 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5256, allocations: 38.8 kB / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.5256, allocations: 4 kB / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.5257, allocations: 38.42 kB / 0.819 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.5257, allocations: 52.2 kB / 0.8191 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.668e-05/0.5257, allocations: 89.86 kB / 0.8191 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.5257, allocations: 25.7 kB / 0.8192 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.5258, allocations: 81.89 kB / 0.8193 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.5258, allocations: 1.594 kB / 0.8193 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.5258, allocations: 15.03 kB / 0.8193 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.5259, allocations: 322.4 kB / 0.8196 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.5259, allocations: 0 / 0.8196 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.5259, allocations: 4.125 kB / 0.8196 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.753e-05/0.5259, allocations: 11.27 kB / 0.8196 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5259, allocations: 0 / 0.8196 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.015e-05/0.526, allocations: 30.17 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.526, allocations: 5.766 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.526, allocations: 3.938 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.526, allocations: 1.156 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.5261, allocations: 1.25 kB / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5261, allocations: 0 / 0.8196 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-06/0.5261, allocations: 5.469 kB / 0.8196 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.5261, allocations: 8.797 kB / 0.8196 GB, free: 15.23 MB / 0.6198 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 5.572e-05/0.5262, allocations: 111.5 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.5262, allocations: 5.812 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.5262, allocations: 10.89 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5262, allocations: 2.297 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5262, allocations: 4 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5262, allocations: 0 / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.937e-05/0.5262, allocations: 115.5 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5262, allocations: 3.938 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.5263, allocations: 3.031 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.5263, allocations: 4 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5263, allocations: 6.656 kB / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.5263, allocations: 0 / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5263, allocations: 0 / 0.8199 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.5263, allocations: 61.88 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.5263, allocations: 1.375 kB / 0.82 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.5263, allocations: 5.016 kB / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-06/0.5263, allocations: 1.062 kB / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5264, allocations: 3.938 kB / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.5264, allocations: 2.266 kB / 0.82 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.5264, allocations: 79.31 kB / 0.82 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5264, allocations: 1.5 kB / 0.82 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001115/0.5265, allocations: 0 / 0.82 GB, free: 14.77 MB / 0.6198 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.0002298/0.5267, allocations: 0.5911 MB / 0.8206 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.066e-05/0.5268, allocations: 8.922 kB / 0.8206 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5268, allocations: 3.938 kB / 0.8206 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.5268, allocations: 3.281 kB / 0.8206 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.5269, allocations: 1.656 kB / 0.8206 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.5272, allocations: 106.4 kB / 0.8207 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.5272, allocations: 55.14 kB / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.5272, allocations: 0 / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.5272, allocations: 7.438 kB / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5272, allocations: 2.5 kB / 0.8208 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.5419, allocations: 1.39 MB / 0.8222 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.864, allocations: 1.781 kB / 0.8222 GB, free: 13.14 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.841294732876122] Failed to read output from testmodel.py, exit status != 0: 7.9417910487391055 7.95649196 7.42932406 Calling exit ...