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.001919/0.001919, 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.001001/0.001001, 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.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7276/0.7276, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.401e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002833/0.002857, allocations: 1.596 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003875, allocations: 0.5727 MB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.00395, allocations: 4 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.004069, allocations: 11.86 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.00411, allocations: 19.75 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.004451, allocations: 63.78 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.004605, allocations: 91.64 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.004758, allocations: 19.98 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.00495, allocations: 59.88 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.005031, allocations: 35.89 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.005052, allocations: 8 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.005125, allocations: 15.98 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.005169, allocations: 23.92 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.00521, allocations: 23.91 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005399, allocations: 107.6 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005402, allocations: 0 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005404, allocations: 3.938 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005409, allocations: 0 / 0.6206 GB, free: 11.05 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.0005235/0.005932, allocations: 333.9 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.005983, allocations: 9.469 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.006024, allocations: 38.75 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.006266, allocations: 32.86 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.006525, allocations: 150.1 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.006538, allocations: 4.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.006553, allocations: 8.375 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.006812, allocations: 117.9 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006821, allocations: 0 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.006833, allocations: 0 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.006841, allocations: 4 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.00704, allocations: 95.92 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.00761, allocations: 339.6 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.007749, allocations: 66.47 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.007846, allocations: 44.95 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.007886, allocations: 4 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.007911, allocations: 34.56 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.007912, allocations: 0 / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004162/0.008328, allocations: 161.5 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.008367, allocations: 63.39 kB / 0.6221 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.008483, allocations: 144.5 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.0085, allocations: 25.7 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.852e-05/0.008559, allocations: 108.1 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.008588, allocations: 19.94 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.008642, allocations: 25.7 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.00875, allocations: 318.8 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.008844, allocations: 39.97 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.00893, allocations: 39.97 kB / 0.6228 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.009113, allocations: 97.12 kB / 0.6229 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009115, allocations: 0 / 0.6229 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002388/0.009354, allocations: 125.6 kB / 0.623 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.009369, allocations: 4 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009375, allocations: 0 / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.009392, allocations: 3.938 kB / 0.623 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.009512, allocations: 19.98 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.009518, allocations: 4 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.009571, allocations: 11.94 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.009599, allocations: 4 kB / 0.623 GB, free: 8.414 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 8.803e-05/0.009687, allocations: 122.8 kB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.009718, allocations: 11.89 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.01003, allocations: 138.4 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01003, allocations: 3.938 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01003, allocations: 4 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01004, allocations: 0 / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.01024, allocations: 176.6 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01025, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.01032, allocations: 19.97 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01033, allocations: 0 / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.01034, allocations: 4 kB / 0.6235 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.01034, allocations: 7.938 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01034, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.01064, allocations: 227.5 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.01066, allocations: 7.953 kB / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01068, allocations: 0 / 0.6237 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.01076, allocations: 15.92 kB / 0.6237 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.0108, allocations: 11.92 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01081, allocations: 7.938 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.01086, allocations: 103.3 kB / 0.6239 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01086, allocations: 0 / 0.6239 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001667/0.01103, allocations: 15.95 kB / 0.6239 GB, free: 7.473 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.0005079/0.01154, allocations: 0.7709 MB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.01174, allocations: 91.94 kB / 0.6247 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01174, allocations: 0 / 0.6247 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.01181, allocations: 51.91 kB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.01202, allocations: 14.03 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.01351, allocations: 1.633 MB / 0.6264 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.219e-05/0.01359, allocations: 88.3 kB / 0.6265 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.74e-05/0.01366, allocations: 19.92 kB / 0.6265 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.01372, allocations: 32.48 kB / 0.6265 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/0.01372, allocations: 0 / 0.6265 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.03064, allocations: 2.733 MB / 0.6292 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.046/7.077, allocations: 240 / 0.6292 GB, free: 2.074 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.749685674905777] Failed to read output from testmodel.py, exit status != 0: 7.1571021834388375 7.164810812 7.157723809 Calling exit ...