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.001295/0.001295, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001822/0.001822, allocations: 223.2 kB / 22.26 MB, free: 3.707 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.03/1.03, allocations: 230.6 MB / 256 MB, free: 9.828 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.8266/0.8266, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009929/0.0009929, allocations: 71.73 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.5767, allocations: 102 MB / 0.8179 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002033/0.5787, allocations: 1.633 MB / 0.8195 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.5796, allocations: 0.6208 MB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.5796, allocations: 3.938 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.5797, allocations: 13.8 kB / 0.8201 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.5798, allocations: 11.11 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.5801, allocations: 62.88 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.5802, allocations: 90.78 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5803, allocations: 35.41 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.5805, allocations: 41.67 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.5805, allocations: 42.7 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.5806, allocations: 5.25 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.5806, allocations: 22.53 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.5807, allocations: 25.78 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.5807, allocations: 40.31 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.5809, allocations: 101.7 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5809, allocations: 0 / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5809, allocations: 0 / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5809, allocations: 0 / 0.8205 GB, free: 15.36 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.0004481/0.5813, allocations: 343.4 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5814, allocations: 9.328 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.5814, allocations: 42.03 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.5816, allocations: 33.95 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.5818, allocations: 148.4 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5818, allocations: 5.969 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5818, allocations: 10.88 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.5821, allocations: 113.2 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5821, allocations: 3.984 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5821, allocations: 0 / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5821, allocations: 0.7969 kB / 0.8212 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.5823, allocations: 96.55 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.5828, allocations: 358.8 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5829, allocations: 55.66 kB / 0.8217 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.5829, allocations: 44.02 kB / 0.8217 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.583, allocations: 6.266 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.583, allocations: 40.53 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.583, allocations: 0 / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003292/0.5834, allocations: 165.9 kB / 0.822 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.5834, allocations: 54.16 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5835, allocations: 142.6 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.5835, allocations: 25.7 kB / 0.8222 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.5836, allocations: 108 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.5836, allocations: 25.11 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.5836, allocations: 21.06 kB / 0.8223 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.5837, allocations: 320.2 kB / 0.8226 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.5838, allocations: 38.09 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.5839, allocations: 39.38 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.584, allocations: 99.92 kB / 0.8228 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.584, allocations: 3.938 kB / 0.8228 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001779/0.5842, allocations: 128.3 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5842, allocations: 6.547 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5842, allocations: 0 / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5842, allocations: 0 / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.5843, allocations: 18.25 kB / 0.8229 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5843, allocations: 4.656 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.5844, allocations: 7.641 kB / 0.8229 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.5844, allocations: 4.75 kB / 0.823 GB, free: 13.52 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 7.267e-05/0.5844, allocations: 133.1 kB / 0.8231 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.5845, allocations: 12.05 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.5847, allocations: 142 kB / 0.8232 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5847, allocations: 5.25 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5847, allocations: 0 / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5847, allocations: 0.7969 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5849, allocations: 180.5 kB / 0.8234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5849, allocations: 1.344 kB / 0.8234 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.5849, allocations: 22.14 kB / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5849, allocations: 3.938 kB / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.5849, allocations: 4.297 kB / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5849, allocations: 0 / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5849, allocations: 1.531 kB / 0.8234 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.5851, allocations: 227.7 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.5852, allocations: 14.42 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.5852, allocations: 1.594 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.5852, allocations: 7.359 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.5853, allocations: 11.45 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5853, allocations: 7.25 kB / 0.8237 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.5853, allocations: 106.3 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5853, allocations: 0 / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001699/0.5855, allocations: 16.89 kB / 0.8238 GB, free: 12.86 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.0004884/0.586, allocations: 0.7655 MB / 0.8246 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.5862, allocations: 95.98 kB / 0.8246 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5862, allocations: 1.031 kB / 0.8247 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.5863, allocations: 56.28 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.5865, allocations: 5.125 kB / 0.8247 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5881, allocations: 1.636 MB / 0.8263 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5883, allocations: 0.7079 MB / 0.827 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.429e-05/0.5884, allocations: 16.14 kB / 0.827 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.5884, allocations: 31.45 kB / 0.827 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5884, allocations: 0 / 0.827 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.6072, allocations: 2.216 MB / 0.8292 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/7.227, allocations: 7.688 kB / 0.8292 GB, free: 9.598 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 & /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: 10.334025076124817] Failed to read output from testmodel.py, exit status != 0: 7.305509530939162 7.318970077 6.735837174 Calling exit ...