Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.0008075/0.0008075, 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.0009073/0.0009073, 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 1.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.594 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.8456/0.8456, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions",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.001089/0.001089, allocations: 70.08 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5789, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002048/0.581, allocations: 1.599 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.5818, allocations: 0.5752 MB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.5818, allocations: 2.594 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.5819, allocations: 18.75 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.582, allocations: 16.52 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.5823, allocations: 59.64 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.5824, allocations: 94.91 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.5825, allocations: 27.5 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.5827, allocations: 47.42 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.5827, allocations: 37.97 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.5828, allocations: 7.188 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.5828, allocations: 18.53 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.5829, allocations: 22.25 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.5829, allocations: 34.83 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.5831, allocations: 96.84 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5831, allocations: 3.938 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5831, allocations: 4 kB / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.5831, allocations: 0 / 0.8204 GB, free: 15.32 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000443/0.5835, allocations: 334.7 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5836, allocations: 8.531 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.5836, allocations: 39.08 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.5838, allocations: 35.5 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.584, allocations: 149.5 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.584, allocations: 14.86 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.584, allocations: 15.84 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.5842, allocations: 105.5 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5842, allocations: 0.6094 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5842, allocations: 3.781 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5842, allocations: 0 / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.5844, allocations: 95.42 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.5848, allocations: 342.2 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.5849, allocations: 53.59 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.585, allocations: 48.61 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.585, allocations: 3.656 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.585, allocations: 35.56 kB / 0.8216 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.585, allocations: 0.9375 kB / 0.8216 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003286/0.5854, allocations: 176.7 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5854, allocations: 55.34 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.5855, allocations: 142.4 kB / 0.822 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.5855, allocations: 29.7 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.5855, allocations: 103.9 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.5856, allocations: 22.19 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.5856, allocations: 20.94 kB / 0.8221 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.5857, allocations: 321.8 kB / 0.8224 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.5858, allocations: 41.05 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.5858, allocations: 37.67 kB / 0.8225 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.586, allocations: 92.34 kB / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.586, allocations: 0 / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001677/0.5861, allocations: 127.7 kB / 0.8227 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5861, allocations: 9.5 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5861, allocations: 2.375 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5862, allocations: 0 / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.5863, allocations: 18.61 kB / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5863, allocations: 0 / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.5863, allocations: 11.78 kB / 0.8228 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5863, allocations: 3.75 kB / 0.8228 GB, free: 13.5 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 (6): * Single equations (assignments): 6 * 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 6.556e-05/0.5864, allocations: 123 kB / 0.8229 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.5864, allocations: 13.11 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.5866, allocations: 147.8 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5866, allocations: 1.094 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5866, allocations: 0.5 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5866, allocations: 4.391 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5868, allocations: 166.7 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5868, allocations: 1.094 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.5868, allocations: 26.05 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5868, allocations: 0 / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.5868, allocations: 11.89 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5868, allocations: 5.25 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5868, allocations: 0 / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.587, allocations: 220.4 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.5871, allocations: 15.38 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.5871, allocations: 0.9375 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.5871, allocations: 7.438 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.5872, allocations: 10.88 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.5872, allocations: 11.52 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.5872, allocations: 107.8 kB / 0.8236 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5872, allocations: 0 / 0.8236 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001651/0.5874, allocations: 17.11 kB / 0.8236 GB, free: 12.84 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 (6): * Single equations (assignments): 6 * 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.000445/0.5878, allocations: 0.7652 MB / 0.8244 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.588, allocations: 98.16 kB / 0.8245 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.588, allocations: 4 kB / 0.8245 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.5881, allocations: 51.98 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.5883, allocations: 6.656 kB / 0.8245 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.5896, allocations: 1.634 MB / 0.8261 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.5897, allocations: 87.27 kB / 0.8262 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.793e-05/0.5897, allocations: 20.19 kB / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.5898, allocations: 31.86 kB / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5898, allocations: 0 / 0.8263 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.6081, allocations: 2.612 MB / 0.8288 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.31/6.918, allocations: 3.531 kB / 0.8288 GB, free: 9.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.187302791047841] Failed to read output from testmodel.py, exit status != 0: 6.996784644667059 7.006283926 6.421296757 Calling exit ...