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.0007506/0.0007506, 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/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.8881/0.8881, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001064/0.001064, allocations: 156 kB / 256 MB, free: 13.34 MB / 250.7 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.02166/0.02166, allocations: 6.666 MB / 319 MB, free: 26.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.788e-05, allocations: 10.22 kB / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.001256/0.001274, allocations: 1.207 MB / 446.6 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.001459, allocations: 60.14 kB / 446.7 MB, free: 36.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.001495, allocations: 0 / 446.7 MB, free: 36.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.852e-05/0.001573, allocations: 11.92 kB / 446.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.001681, allocations: 3.984 kB / 446.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.304e-05/0.001704, allocations: 3.938 kB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.001762, allocations: 15.94 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.001797, allocations: 0 / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.001833, allocations: 7.984 kB / 446.7 MB, free: 36.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.001878, allocations: 23.86 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.001899, allocations: 0 / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.001905, allocations: 3.938 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.00192, allocations: 4 kB / 446.7 MB, free: 36.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.001936, allocations: 3.984 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.035e-05/0.001996, allocations: 8 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.001998, allocations: 0 / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.001999, allocations: 0 / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.002003, allocations: 0 / 446.7 MB, free: 36.29 MB / 330.7 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.0002553/0.002258, allocations: 252.4 kB / 447 MB, free: 36.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.002293, allocations: 16.03 kB / 447 MB, free: 35.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.238e-05/0.002316, allocations: 38.73 kB / 447 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.002338, allocations: 0.9375 kB / 447 MB, free: 35.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/0.002413, allocations: 105.8 kB / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.002424, allocations: 384 / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.002443, allocations: 384 / 447.1 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.138e-05/0.002514, allocations: 51.97 kB / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.002522, allocations: 192 / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.002528, allocations: 4.312 kB / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.002533, allocations: 4.125 kB / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.002548, allocations: 0 / 447.2 MB, free: 35.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.002734, allocations: 141.7 kB / 447.3 MB, free: 35.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.616e-05/0.002771, allocations: 37.16 kB / 447.4 MB, free: 35.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.002784, allocations: 9.719 kB / 447.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.002792, allocations: 0 / 447.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.002803, allocations: 38.62 kB / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.002804, allocations: 0 / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001112/0.002915, allocations: 45.58 kB / 447.5 MB, free: 35.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.002936, allocations: 85.05 kB / 447.6 MB, free: 35.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.00298, allocations: 102.2 kB / 447.6 MB, free: 35.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.651e-06/0.002986, allocations: 29.7 kB / 447.7 MB, free: 35.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.607e-05/0.003002, allocations: 88.14 kB / 447.8 MB, free: 35.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.003023, allocations: 7.891 kB / 447.8 MB, free: 35.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.003043, allocations: 17.72 kB / 447.8 MB, free: 35.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.935e-05/0.003072, allocations: 310.8 kB / 448.1 MB, free: 34.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.003084, allocations: 11.98 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.003099, allocations: 31.41 kB / 448.1 MB, free: 34.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.003134, allocations: 47.38 kB / 448.2 MB, free: 34.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003136, allocations: 0 / 448.2 MB, free: 34.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.007e-05/0.003176, allocations: 53.62 kB / 448.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.003188, allocations: 8 kB / 448.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.003193, allocations: 0 / 448.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.003205, allocations: 0 / 448.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.646e-05/0.003232, allocations: 11.94 kB / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.003237, allocations: 3.938 kB / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.003263, allocations: 7.922 kB / 448.3 MB, free: 34.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.003269, allocations: 12.12 kB / 448.3 MB, free: 34.5 MB / 330.7 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 3.218e-05/0.003301, allocations: 113.8 kB / 448.4 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.003306, allocations: 7.953 kB / 448.4 MB, free: 34.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.595e-05/0.003322, allocations: 3.156 kB / 448.4 MB, free: 34.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.003324, allocations: 0 / 448.4 MB, free: 34.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.003328, allocations: 7.938 kB / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.003331, allocations: 0 / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.495e-05/0.003396, allocations: 132.7 kB / 448.5 MB, free: 34.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.003397, allocations: 0 / 448.5 MB, free: 34.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.003414, allocations: 4 kB / 448.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.003415, allocations: 4 kB / 448.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.003422, allocations: 0 / 448.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.003424, allocations: 7.969 kB / 448.6 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.003425, allocations: 7.938 kB / 448.6 MB, free: 34.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/0.003499, allocations: 77.92 kB / 448.6 MB, free: 34.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-06/0.003505, allocations: 4.031 kB / 448.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.003515, allocations: 0 / 448.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.003524, allocations: 0 / 448.6 MB, free: 34.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.003537, allocations: 7.938 kB / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.003538, allocations: 0 / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.707e-05/0.003555, allocations: 87.36 kB / 448.7 MB, free: 33.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003555, allocations: 4 kB / 448.7 MB, free: 33.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001173/0.003673, allocations: 4 kB / 448.7 MB, free: 33.96 MB / 330.7 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.000139/0.003812, allocations: 0.6016 MB / 449.3 MB, free: 33.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.003885, allocations: 15.94 kB / 449.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.003887, allocations: 0 / 449.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.003895, allocations: 8.344 kB / 449.4 MB, free: 33.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.004019, allocations: 17.77 kB / 449.4 MB, free: 33.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.004567, allocations: 1.179 MB / 450.6 MB, free: 32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.004597, allocations: 63.34 kB / 450.6 MB, free: 31.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.896e-05/0.004616, allocations: 0 / 450.6 MB, free: 31.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.004647, allocations: 20.44 kB / 450.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.004647, allocations: 0 / 450.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.02191, allocations: 1.847 MB / 452.5 MB, free: 30.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.786, allocations: 6 kB / 452.5 MB, free: 30.17 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Classes.TestVector2D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.733382830396295] Failed to read output from testmodel.py, exit status != 0: 6.8683477602899075 6.87782131 6.873631683 Calling exit ...