Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.001427/0.001427, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.504/1.504, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001578/0.001578, allocations: 214.8 kB / 309.2 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04181/0.04181, allocations: 8.92 MB / 374.6 MB, free: 6.629 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002485/0.002485, allocations: 87.86 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.1001, allocations: 55.61 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.00282/0.1029, allocations: 1.216 MB / 0.5446 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003034/0.1032, allocations: 53.92 kB / 0.5447 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.1032, allocations: 0 / 0.5447 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.1033, allocations: 4 kB / 0.5447 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.1035, allocations: 7.922 kB / 0.5447 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.426e-05/0.1035, allocations: 7.938 kB / 0.5447 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.1036, allocations: 15.92 kB / 0.5447 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.096e-05/0.1037, allocations: 0 / 0.5447 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.1037, allocations: 7.938 kB / 0.5447 GB, free: 3.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.1038, allocations: 11.98 kB / 0.5447 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1038, allocations: 4 kB / 0.5447 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.1038, allocations: 0 / 0.5447 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.1039, allocations: 7.938 kB / 0.5447 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.1039, allocations: 3.984 kB / 0.5447 GB, free: 3.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.104, allocations: 16.2 kB / 0.5448 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.104, allocations: 0 / 0.5448 GB, free: 3.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.104, allocations: 0 / 0.5448 GB, free: 3.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.104, allocations: 0 / 0.5448 GB, free: 3.711 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005382/0.1046, allocations: 254.3 kB / 0.545 GB, free: 3.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.1046, allocations: 19.92 kB / 0.545 GB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.1047, allocations: 38.75 kB / 0.545 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1047, allocations: 0.9375 kB / 0.545 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1049, allocations: 110.5 kB / 0.5452 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1049, allocations: 384 / 0.5452 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1049, allocations: 384 / 0.5452 GB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.105, allocations: 51.97 kB / 0.5452 GB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.105, allocations: 3.938 kB / 0.5452 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.105, allocations: 0 / 0.5452 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.105, allocations: 0 / 0.5452 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.241e-05/0.1051, allocations: 3.938 kB / 0.5452 GB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1054, allocations: 137.7 kB / 0.5453 GB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.1055, allocations: 37.22 kB / 0.5454 GB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.1055, allocations: 17.72 kB / 0.5454 GB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.1055, allocations: 0 / 0.5454 GB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1055, allocations: 34.56 kB / 0.5454 GB, free: 2.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1055, allocations: 0 / 0.5454 GB, free: 2.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001736/0.1057, allocations: 53.52 kB / 0.5455 GB, free: 2.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1058, allocations: 81.11 kB / 0.5456 GB, free: 2.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.1059, allocations: 101.8 kB / 0.5457 GB, free: 2.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1059, allocations: 25.95 kB / 0.5457 GB, free: 2.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.1059, allocations: 84.14 kB / 0.5458 GB, free: 2.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.106, allocations: 7.953 kB / 0.5458 GB, free: 2.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.106, allocations: 17.72 kB / 0.5458 GB, free: 2.445 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1061, allocations: 314.8 kB / 0.5461 GB, free: 2.129 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.1062, allocations: 11.94 kB / 0.5461 GB, free: 2.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.1062, allocations: 27.44 kB / 0.5461 GB, free: 2.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.1063, allocations: 43.36 kB / 0.5462 GB, free: 2.023 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1063, allocations: 7.938 kB / 0.5462 GB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.618e-05/0.1064, allocations: 57.58 kB / 0.5462 GB, free: 1.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1064, allocations: 11.94 kB / 0.5462 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1064, allocations: 0 / 0.5462 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1064, allocations: 0 / 0.5462 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.1064, allocations: 11.98 kB / 0.5462 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1064, allocations: 0 / 0.5462 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.1065, allocations: 0 / 0.5462 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1065, allocations: 4 kB / 0.5463 GB, free: 1.926 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.978e-05/0.1066, allocations: 114 kB / 0.5464 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.1066, allocations: 11.89 kB / 0.5464 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.1066, allocations: 7.156 kB / 0.5464 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1066, allocations: 0 / 0.5464 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1066, allocations: 4 kB / 0.5464 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1066, allocations: 7.922 kB / 0.5464 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1068, allocations: 124.7 kB / 0.5465 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1068, allocations: 0 / 0.5465 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.1068, allocations: 11.98 kB / 0.5465 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1068, allocations: 3.938 kB / 0.5465 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1068, allocations: 0 / 0.5465 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1068, allocations: 4 kB / 0.5465 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1068, allocations: 4 kB / 0.5465 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.107, allocations: 70.27 kB / 0.5466 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.107, allocations: 8.016 kB / 0.5466 GB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.107, allocations: 3.938 kB / 0.5466 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.107, allocations: 0 / 0.5466 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.107, allocations: 11.94 kB / 0.5466 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.107, allocations: 0 / 0.5466 GB, free: 1.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.1071, allocations: 83.27 kB / 0.5467 GB, free: 1.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1071, allocations: 96 / 0.5467 GB, free: 1.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.1073, allocations: 8 kB / 0.5467 GB, free: 1.387 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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 (2): * Single equations (assignments): 2 * 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.0004272/0.1077, allocations: 0.6094 MB / 0.5473 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.1078, allocations: 15.94 kB / 0.5473 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1078, allocations: 3.938 kB / 0.5473 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.1078, allocations: 11.92 kB / 0.5473 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.108, allocations: 4.469 kB / 0.5473 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1092, allocations: 1.196 MB / 0.5485 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.492e-05/0.1093, allocations: 63.34 kB / 0.5486 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.408e-05/0.1093, allocations: 3.984 kB / 0.5486 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.1093, allocations: 11.44 kB / 0.5486 GB, free: 15.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1093, allocations: 0 / 0.5486 GB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03697/0.1463, allocations: 1.701 MB / 0.5502 GB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.91, allocations: 14.97 kB / 0.5503 GB, free: 13.7 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.927650393918157] Failed to read output from testmodel.py, exit status != 0: 11.021063853055239 11.254012234 10.941848031 Calling exit ...