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.000791/0.000791, 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.0007987/0.0007987, allocations: 170.3 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.91/0.91, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7118/0.7118, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.332e-06/1.332e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.656e-05, allocations: 7.906 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001803/0.00182, allocations: 1.605 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.002606, allocations: 0.5766 MB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.002666, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.002766, allocations: 15.8 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.615e-05/0.002792, allocations: 15.86 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.003073, allocations: 59.8 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.003183, allocations: 91.64 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.003303, allocations: 27.92 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003422, allocations: 63.81 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.003494, allocations: 31.89 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.003513, allocations: 8 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.003576, allocations: 19.98 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/0.003612, allocations: 19.91 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.003643, allocations: 27.92 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003771, allocations: 99.61 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003774, allocations: 4 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003775, allocations: 3.938 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003778, allocations: 4 kB / 0.6207 GB, free: 10.95 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.0003602/0.004138, allocations: 333.8 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004174, allocations: 8.031 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.004201, allocations: 38.75 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.004349, allocations: 44.8 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.004512, allocations: 141 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.004522, allocations: 4.375 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.004533, allocations: 12.38 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.004706, allocations: 102 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004712, allocations: 3.938 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004722, allocations: 7.938 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.004727, allocations: 4 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.004858, allocations: 95.92 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.005237, allocations: 343.6 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.005325, allocations: 54.55 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.005388, allocations: 44.95 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.00542, allocations: 4 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.005438, allocations: 34.56 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.00544, allocations: 0 / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002776/0.005717, allocations: 173.5 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.005744, allocations: 51.41 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.00582, allocations: 141.7 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.005836, allocations: 29.7 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.005879, allocations: 108.2 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.005901, allocations: 23.8 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.005931, allocations: 17.7 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.006007, allocations: 322.8 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.006069, allocations: 39.97 kB / 0.6228 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.006124, allocations: 40.34 kB / 0.6228 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.006239, allocations: 92.81 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006241, allocations: 0 / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.006391, allocations: 129.5 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006402, allocations: 4 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.006406, allocations: 4 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006418, allocations: 7.938 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.006493, allocations: 15.98 kB / 0.6231 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006497, allocations: 0 / 0.6231 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.006527, allocations: 11.94 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.006543, allocations: 4 kB / 0.6231 GB, free: 8.312 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.86e-05/0.006612, allocations: 122.8 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.006627, allocations: 11.95 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.006842, allocations: 146.3 kB / 0.6234 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.006846, allocations: 3.938 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.00685, allocations: 0 / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006853, allocations: 4 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.006991, allocations: 172.6 kB / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006992, allocations: 0 / 0.6235 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.007061, allocations: 19.97 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.007063, allocations: 4 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.00707, allocations: 0 / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.007073, allocations: 7.938 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007074, allocations: 128 / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.007259, allocations: 235.4 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.007266, allocations: 3.953 kB / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007279, allocations: 4 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.007325, allocations: 11.92 kB / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.007363, allocations: 11.98 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.007369, allocations: 0 / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.373e-05/0.007413, allocations: 106.3 kB / 0.6239 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.007413, allocations: 4 kB / 0.6239 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001602/0.007573, allocations: 23.94 kB / 0.6239 GB, free: 7.363 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.0004109/0.007984, allocations: 0.7654 MB / 0.6247 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.008145, allocations: 91.94 kB / 0.6248 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.008148, allocations: 4 kB / 0.6248 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.008209, allocations: 51.97 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.008363, allocations: 13.97 kB / 0.6248 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.009587, allocations: 1.619 MB / 0.6264 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.009647, allocations: 96.31 kB / 0.6265 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.211e-05/0.009699, allocations: 11.92 kB / 0.6265 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.009743, allocations: 28.48 kB / 0.6266 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.009744, allocations: 0 / 0.6266 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02352, allocations: 2.74 MB / 0.6292 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.688, allocations: 6.281 kB / 0.6292 GB, free: 1.973 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.354743231087923] Failed to read output from testmodel.py, exit status != 0: 6.767984975129366 6.778151303 6.772795024 Calling exit ...