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.001808/0.001808, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 14.47 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.001611/0.001611, allocations: 208.9 kB / 310 MB, free: 3.07 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.04094/0.04094, allocations: 8.916 MB / 375.4 MB, free: 6.602 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="cs",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.00246/0.00246, allocations: 79.89 kB / 0.4899 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09607/0.09853, allocations: 55.62 MB / 0.5442 GB, free: 5.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002264/0.1008, allocations: 1.221 MB / 0.5454 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.101, allocations: 49.92 kB / 0.5454 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.101, allocations: 4 kB / 0.5454 GB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.807e-05/0.1011, allocations: 11.98 kB / 0.5454 GB, free: 3.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1012, allocations: 3.938 kB / 0.5454 GB, free: 3.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.871e-05/0.1012, allocations: 4 kB / 0.5454 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.1013, allocations: 15.92 kB / 0.5455 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1013, allocations: 0 / 0.5455 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.1014, allocations: 11.94 kB / 0.5455 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.54e-05/0.1014, allocations: 7.984 kB / 0.5455 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1014, allocations: 0 / 0.5455 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.1014, allocations: 0 / 0.5455 GB, free: 3.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.1015, allocations: 7.922 kB / 0.5455 GB, free: 3.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.1015, allocations: 8 kB / 0.5455 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.455e-05/0.1015, allocations: 20.09 kB / 0.5455 GB, free: 3.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1015, allocations: 0 / 0.5455 GB, free: 3.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1015, allocations: 0 / 0.5455 GB, free: 3.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1016, allocations: 0 / 0.5455 GB, free: 3.68 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.0003551/0.1019, allocations: 254.4 kB / 0.5458 GB, free: 3.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1019, allocations: 15.98 kB / 0.5458 GB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.178e-05/0.102, allocations: 192 / 0.5458 GB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.102, allocations: 34.73 kB / 0.5458 GB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.113e-05/0.102, allocations: 0.9375 kB / 0.5458 GB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1021, allocations: 106.5 kB / 0.5459 GB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1021, allocations: 8.375 kB / 0.5459 GB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1022, allocations: 384 / 0.5459 GB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.1023, allocations: 51.72 kB / 0.546 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1023, allocations: 0 / 0.546 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1023, allocations: 7.922 kB / 0.546 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1023, allocations: 0 / 0.546 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.1023, allocations: 4 kB / 0.546 GB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.1026, allocations: 137.7 kB / 0.5461 GB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.1026, allocations: 37.16 kB / 0.5461 GB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.1026, allocations: 9.719 kB / 0.5462 GB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1027, allocations: 7.938 kB / 0.5462 GB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1027, allocations: 42.56 kB / 0.5462 GB, free: 2.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1027, allocations: 0 / 0.5462 GB, free: 2.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.1028, allocations: 45.58 kB / 0.5462 GB, free: 2.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1029, allocations: 81.11 kB / 0.5463 GB, free: 2.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/0.103, allocations: 101.8 kB / 0.5464 GB, free: 2.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.103, allocations: 25.7 kB / 0.5464 GB, free: 2.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.103, allocations: 92.12 kB / 0.5465 GB, free: 2.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.103, allocations: 3.953 kB / 0.5465 GB, free: 2.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1031, allocations: 21.97 kB / 0.5466 GB, free: 2.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1032, allocations: 314.8 kB / 0.5469 GB, free: 2.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.1032, allocations: 4 kB / 0.5469 GB, free: 2.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.1032, allocations: 31.38 kB / 0.5469 GB, free: 2.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.1033, allocations: 39.38 kB / 0.5469 GB, free: 1.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1033, allocations: 3.938 kB / 0.5469 GB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.686e-05/0.1034, allocations: 61.69 kB / 0.547 GB, free: 1.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1034, allocations: 11.94 kB / 0.547 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1034, allocations: 0 / 0.547 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1034, allocations: 0 / 0.547 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.1035, allocations: 8 kB / 0.547 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1035, allocations: 3.984 kB / 0.547 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.1035, allocations: 0 / 0.547 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1035, allocations: 4 kB / 0.547 GB, free: 1.895 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.736e-05/0.1036, allocations: 121.7 kB / 0.5471 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.1036, allocations: 7.891 kB / 0.5471 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.1036, allocations: 11.22 kB / 0.5472 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1036, allocations: 0 / 0.5472 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1036, allocations: 4 kB / 0.5472 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1036, allocations: 0 / 0.5472 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1038, allocations: 128.8 kB / 0.5473 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1038, allocations: 0 / 0.5473 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.1039, allocations: 4 kB / 0.5473 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.1039, allocations: 7.922 kB / 0.5473 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1039, allocations: 0 / 0.5473 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1039, allocations: 0 / 0.5473 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1039, allocations: 7.984 kB / 0.5473 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.104, allocations: 81.92 kB / 0.5474 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.104, allocations: 7.969 kB / 0.5474 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.104, allocations: 0 / 0.5474 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.1041, allocations: 0 / 0.5474 GB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1041, allocations: 4 kB / 0.5474 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.1041, allocations: 0 / 0.5474 GB, free: 1.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.1041, allocations: 91.48 kB / 0.5475 GB, free: 1.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1041, allocations: 0 / 0.5475 GB, free: 1.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.1043, allocations: 4 kB / 0.5475 GB, free: 1.352 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.0004173/0.1047, allocations: 0.6135 MB / 0.5481 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.1048, allocations: 15.94 kB / 0.5481 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1048, allocations: 0 / 0.5481 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.1048, allocations: 7.938 kB / 0.5481 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.105, allocations: 7.984 kB / 0.5481 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1061, allocations: 1.197 MB / 0.5493 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.1061, allocations: 59.34 kB / 0.5493 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1062, allocations: 4 kB / 0.5493 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.1062, allocations: 11.44 kB / 0.5494 GB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1062, allocations: 0 / 0.5494 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.1285, allocations: 1.384 MB / 0.5507 GB, free: 14.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.13, allocations: 4.062 kB / 0.5507 GB, free: 14.01 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: 14.16089940292295] Failed to read output from testmodel.py, exit status != 0: 11.287233917042613 11.306666711 11.20195886 Calling exit ...