Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007451/0.0007451, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007582/0.0007582, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8994/0.8994, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7304/0.7304, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.712e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001844/0.001861, allocations: 1.607 MB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000832/0.002693, allocations: 0.5689 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.002765, allocations: 7.938 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.002867, allocations: 15.8 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.002893, allocations: 7.875 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.003201, allocations: 71.78 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.003321, allocations: 95.56 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.003478, allocations: 27.92 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.003621, allocations: 63.81 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.003686, allocations: 35.89 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003703, allocations: 4 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.8e-05/0.003761, allocations: 15.98 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.003798, allocations: 23.92 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.00383, allocations: 23.92 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.003973, allocations: 103.6 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003975, allocations: 0 / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.003977, allocations: 0 / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.003982, allocations: 0 / 0.6207 GB, free: 11 MB / 0.5886 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.0004155/0.004398, allocations: 337.8 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004436, allocations: 8.031 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.004469, allocations: 42.73 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.004635, allocations: 36.81 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.004826, allocations: 146.2 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004837, allocations: 4.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.004849, allocations: 4.375 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.005024, allocations: 113.9 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.005031, allocations: 0 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00504, allocations: 0 / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.005044, allocations: 3.938 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.005181, allocations: 103.9 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.005573, allocations: 339.7 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.005661, allocations: 58.48 kB / 0.6219 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.37e-05/0.005725, allocations: 48.95 kB / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.005758, allocations: 0 / 0.6219 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.005776, allocations: 34.56 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.005777, allocations: 4 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002911/0.006068, allocations: 161.5 kB / 0.6221 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.006099, allocations: 55.41 kB / 0.6221 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.006179, allocations: 148.5 kB / 0.6223 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.006191, allocations: 25.7 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.006237, allocations: 108.2 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.006261, allocations: 23.84 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.00629, allocations: 17.72 kB / 0.6225 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.006369, allocations: 326.8 kB / 0.6228 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.006429, allocations: 39.97 kB / 0.6228 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.006483, allocations: 35.97 kB / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.006601, allocations: 88.8 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006603, allocations: 4.312 kB / 0.6229 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001501/0.006753, allocations: 133.6 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.006766, allocations: 4 kB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00677, allocations: 0 / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.006784, allocations: 11.86 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.006858, allocations: 15.98 kB / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006862, allocations: 0 / 0.6231 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.006893, allocations: 11.95 kB / 0.6231 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.006909, allocations: 3.984 kB / 0.6231 GB, free: 8.355 MB / 0.5886 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.351e-05/0.006973, allocations: 130.8 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.006988, allocations: 7.953 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.007201, allocations: 142.4 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007203, allocations: 3.938 kB / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007207, allocations: 0 / 0.6234 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.00721, allocations: 3.938 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.007345, allocations: 168.7 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.007346, allocations: 0 / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.007387, allocations: 23.92 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007389, allocations: 4 kB / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.007397, allocations: 0 / 0.6236 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.0074, allocations: 3.938 kB / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007401, allocations: 0 / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.00757, allocations: 223.4 kB / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.007579, allocations: 7.953 kB / 0.6238 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.007593, allocations: 4.172 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.007637, allocations: 15.94 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.007675, allocations: 15.92 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007682, allocations: 4 kB / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.007726, allocations: 110.4 kB / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007726, allocations: 0 / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001514/0.007877, allocations: 15.95 kB / 0.6239 GB, free: 7.414 MB / 0.5886 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.0004041/0.008281, allocations: 0.7631 MB / 0.6247 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.008445, allocations: 99.88 kB / 0.6248 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.008447, allocations: 4 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.008511, allocations: 55.95 kB / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.008672, allocations: 0 / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.01012, allocations: 1.63 MB / 0.6264 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.01018, allocations: 84.31 kB / 0.6265 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.125e-05/0.01023, allocations: 15.92 kB / 0.6265 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.01028, allocations: 32.48 kB / 0.6266 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.01028, allocations: 3.938 kB / 0.6266 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.02625, allocations: 2.732 MB / 0.6292 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/6.901, allocations: 7.844 kB / 0.6292 GB, free: 2.016 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.750857251696289] Failed to read output from testmodel.py, exit status != 0: 6.9808461628854275 6.991443286 6.985771975 Calling exit ...