Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.001379/0.001379, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.563/1.563, allocations: 230.6 MB / 250.5 MB, free: 9.387 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.0016/0.0016, allocations: 208.9 kB / 306.7 MB, free: 4.348 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.04254/0.04254, allocations: 8.909 MB / 371.7 MB, free: 3.48 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.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.002448/0.002448, allocations: 80.22 kB / 496.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3289, allocations: 55.57 MB / 0.539 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001655/0.3305, allocations: 0.512 MB / 0.5395 GB, free: 26.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.3318, allocations: 1.134 MB / 0.5407 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.3318, allocations: 0 / 0.5407 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.3321, allocations: 25.38 kB / 0.5407 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.3321, allocations: 32.16 kB / 0.5407 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.3321, allocations: 0 / 0.5407 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.3322, allocations: 20.7 kB / 0.5407 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.3322, allocations: 13.16 kB / 0.5407 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.3324, allocations: 24.84 kB / 0.5408 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3325, allocations: 23.19 kB / 0.5408 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3325, allocations: 2.688 kB / 0.5408 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.698e-06/0.3325, allocations: 0 / 0.5408 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3326, allocations: 74.75 kB / 0.5409 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.3327, allocations: 25.91 kB / 0.5409 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.953e-05/0.3327, allocations: 52.2 kB / 0.5409 GB, free: 25.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3328, allocations: 0 / 0.5409 GB, free: 25.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3328, allocations: 0 / 0.5409 GB, free: 25.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3328, allocations: 0 / 0.5409 GB, free: 25.38 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004006/0.3332, allocations: 409.7 kB / 0.5413 GB, free: 24.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3332, allocations: 12.38 kB / 0.5413 GB, free: 24.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.217e-05/0.3332, allocations: 75.47 kB / 0.5414 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.3333, allocations: 110 kB / 0.5415 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3333, allocations: 86.67 kB / 0.5416 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3335, allocations: 291 kB / 0.5419 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3335, allocations: 158.9 kB / 0.542 GB, free: 24.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3335, allocations: 150.9 kB / 0.5422 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.603e-05/0.3335, allocations: 104.9 kB / 0.5423 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.3336, allocations: 82.34 kB / 0.5424 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3336, allocations: 150.6 kB / 0.5425 GB, free: 23.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.3336, allocations: 154.6 kB / 0.5426 GB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.3336, allocations: 158.5 kB / 0.5428 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.3339, allocations: 479 kB / 0.5433 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.188e-05/0.3339, allocations: 168.4 kB / 0.5434 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.3339, allocations: 84.14 kB / 0.5435 GB, free: 22.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3339, allocations: 79.22 kB / 0.5436 GB, free: 22.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.334, allocations: 109.2 kB / 0.5437 GB, free: 22.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.334, allocations: 0 / 0.5437 GB, free: 22.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.334, allocations: 48.11 kB / 0.5437 GB, free: 22.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3341, allocations: 126.7 kB / 0.5438 GB, free: 22.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.3343, allocations: 231.4 kB / 0.5441 GB, free: 22.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.3343, allocations: 29.7 kB / 0.5441 GB, free: 22.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.3343, allocations: 117 kB / 0.5442 GB, free: 22.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3343, allocations: 0 / 0.5442 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.3343, allocations: 9.719 kB / 0.5442 GB, free: 22.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.3344, allocations: 331.4 kB / 0.5445 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.3344, allocations: 0 / 0.5445 GB, free: 21.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-06/0.3344, allocations: 0 / 0.5445 GB, free: 21.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.596e-05/0.3345, allocations: 75.28 kB / 0.5446 GB, free: 21.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.3345, allocations: 79.28 kB / 0.5447 GB, free: 21.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.352e-05/0.3345, allocations: 47.03 kB / 0.5447 GB, free: 21.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3345, allocations: 84.88 kB / 0.5448 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3346, allocations: 78.47 kB / 0.5449 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.3346, allocations: 158 kB / 0.545 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.04e-05/0.3346, allocations: 76.23 kB / 0.5451 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.3346, allocations: 154.6 kB / 0.5452 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.3347, allocations: 86.47 kB / 0.5453 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3347, allocations: 75.28 kB / 0.5454 GB, free: 20.84 MB / 382.1 MB 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 (0): * Single equations (assignments): 0 * 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.839e-05/0.3348, allocations: 286.5 kB / 0.5457 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3348, allocations: 120 kB / 0.5458 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.85e-05/0.3349, allocations: 130.1 kB / 0.5459 GB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.3349, allocations: 187.4 kB / 0.5461 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/0.3349, allocations: 187.7 kB / 0.5463 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.028e-05/0.335, allocations: 176.5 kB / 0.5464 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3351, allocations: 441.4 kB / 0.5469 GB, free: 19.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.3352, allocations: 109 kB / 0.547 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.3352, allocations: 108.1 kB / 0.5471 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-05/0.3352, allocations: 188.1 kB / 0.5472 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.3352, allocations: 179.7 kB / 0.5474 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.576e-05/0.3353, allocations: 183.4 kB / 0.5476 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-05/0.3353, allocations: 176.3 kB / 0.5478 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.531e-05/0.3354, allocations: 321.5 kB / 0.5481 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.3354, allocations: 196.3 kB / 0.5483 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3354, allocations: 180.2 kB / 0.5484 GB, free: 17.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.3355, allocations: 107.6 kB / 0.5485 GB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3356, allocations: 180.3 kB / 0.5487 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3356, allocations: 108.9 kB / 0.5488 GB, free: 17.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3357, allocations: 170.8 kB / 0.549 GB, free: 17.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3357, allocations: 0 / 0.549 GB, free: 17.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.3359, allocations: 3.188 kB / 0.549 GB, free: 17.14 MB / 382.1 MB 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 (0): * Single equations (assignments): 0 * 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.0002357/0.3362, allocations: 0.8144 MB / 0.5498 GB, free: 16.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 4.679e-05/0.3362, allocations: 11.09 kB / 0.5498 GB, free: 16.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3362, allocations: 0 / 0.5498 GB, free: 16.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.103e-06/0.3362, allocations: 0 / 0.5498 GB, free: 16.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3365, allocations: 455.7 kB / 0.5502 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3379, allocations: 2.05 MB / 0.5522 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.338, allocations: 0.7166 MB / 0.5529 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.338, allocations: 3.938 kB / 0.5529 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3381, allocations: 30.81 kB / 0.5529 GB, free: 13.43 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3381, allocations: 0 / 0.5529 GB, free: 13.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.357, allocations: 1.918 MB / 0.5548 GB, free: 13.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/9.584, allocations: 11.84 kB / 0.5548 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 650] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.470235463988502] Failed to read output from testmodel.py, exit status != 0: 9.711553371977061 9.73236639 9.395604127 Calling exit ...