Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.001559/0.001559, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.545/1.545, allocations: 230.6 MB / 252.6 MB, free: 8.312 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.001694/0.001694, allocations: 219 kB / 309.2 MB, free: 3.156 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.04119/0.04119, allocations: 8.921 MB / 374.6 MB, free: 1.902 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.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.002578/0.002578, allocations: 83.86 kB / 0.4892 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2848, allocations: 55.61 MB / 0.5435 GB, free: 26.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001475/0.2863, allocations: 0.5321 MB / 0.544 GB, free: 26.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2874, allocations: 1.19 MB / 0.5452 GB, free: 25.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.2874, allocations: 0 / 0.5452 GB, free: 25.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2876, allocations: 7.406 kB / 0.5452 GB, free: 25.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.435e-05/0.2877, allocations: 21.77 kB / 0.5452 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.474e-05/0.2877, allocations: 11.06 kB / 0.5452 GB, free: 25.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.878e-05/0.2878, allocations: 38.06 kB / 0.5453 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.2878, allocations: 7.016 kB / 0.5453 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.288, allocations: 31.89 kB / 0.5453 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.2881, allocations: 44.77 kB / 0.5453 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2881, allocations: 0 / 0.5453 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.2881, allocations: 3.188 kB / 0.5453 GB, free: 25.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.148e-05/0.2882, allocations: 46.33 kB / 0.5454 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.2883, allocations: 29.56 kB / 0.5454 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.323e-05/0.2883, allocations: 44.03 kB / 0.5455 GB, free: 25.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2883, allocations: 4 kB / 0.5455 GB, free: 25.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2883, allocations: 3.938 kB / 0.5455 GB, free: 25.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2883, allocations: 0 / 0.5455 GB, free: 25.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004493/0.2888, allocations: 333 kB / 0.5458 GB, free: 25.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2888, allocations: 13.75 kB / 0.5458 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.125e-05/0.2888, allocations: 30.75 kB / 0.5458 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.2889, allocations: 12.16 kB / 0.5458 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.289, allocations: 166 kB / 0.546 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.289, allocations: 4.375 kB / 0.546 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.289, allocations: 384 / 0.546 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/0.2891, allocations: 43.84 kB / 0.546 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2891, allocations: 0 / 0.546 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2891, allocations: 0 / 0.546 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2891, allocations: 0 / 0.546 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.2892, allocations: 9.062 kB / 0.5461 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.2893, allocations: 168.2 kB / 0.5462 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.2894, allocations: 36.11 kB / 0.5462 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.2894, allocations: 11.42 kB / 0.5463 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2894, allocations: 11.2 kB / 0.5463 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2894, allocations: 34.5 kB / 0.5463 GB, free: 24.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2894, allocations: 0 / 0.5463 GB, free: 24.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001379/0.2896, allocations: 59.67 kB / 0.5464 GB, free: 24.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.2896, allocations: 54.56 kB / 0.5464 GB, free: 24.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.2897, allocations: 216.2 kB / 0.5466 GB, free: 24.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.2897, allocations: 29.64 kB / 0.5466 GB, free: 24.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.2898, allocations: 109.3 kB / 0.5467 GB, free: 24.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.2898, allocations: 10.86 kB / 0.5468 GB, free: 24.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.2898, allocations: 16.3 kB / 0.5468 GB, free: 24.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.2899, allocations: 325.3 kB / 0.5471 GB, free: 23.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.2899, allocations: 3.156 kB / 0.5471 GB, free: 23.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.2899, allocations: 13.83 kB / 0.5471 GB, free: 23.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.2899, allocations: 25.89 kB / 0.5471 GB, free: 23.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2899, allocations: 4 kB / 0.5471 GB, free: 23.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.874e-05/0.29, allocations: 64.98 kB / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.29, allocations: 6.469 kB / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.29, allocations: 0 / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.29, allocations: 0 / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.2901, allocations: 13.52 kB / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2901, allocations: 0 / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.2902, allocations: 3.219 kB / 0.5472 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.2902, allocations: 3.938 kB / 0.5472 GB, free: 23.81 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 (3): * Single equations (assignments): 3 * 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 5.392e-05/0.2902, allocations: 126 kB / 0.5473 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.2902, allocations: 15.12 kB / 0.5474 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.2904, allocations: 68.25 kB / 0.5474 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2904, allocations: 0 / 0.5474 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2904, allocations: 0 / 0.5474 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2904, allocations: 3.469 kB / 0.5474 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.793e-05/0.2904, allocations: 154.1 kB / 0.5476 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2904, allocations: 0 / 0.5476 GB, free: 23.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.2905, allocations: 11.06 kB / 0.5476 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2905, allocations: 3.25 kB / 0.5476 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2905, allocations: 4 kB / 0.5476 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2905, allocations: 3.609 kB / 0.5476 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2905, allocations: 0 / 0.5476 GB, free: 23.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.857e-05/0.2906, allocations: 79.34 kB / 0.5477 GB, free: 23.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2906, allocations: 21.75 kB / 0.5477 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2906, allocations: 0 / 0.5477 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.2907, allocations: 3 kB / 0.5477 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.2907, allocations: 3.562 kB / 0.5477 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2907, allocations: 7.094 kB / 0.5477 GB, free: 23.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.2908, allocations: 169.8 kB / 0.5479 GB, free: 23.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2908, allocations: 0 / 0.5479 GB, free: 23.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.291, allocations: 8.562 kB / 0.5479 GB, free: 23.26 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 (3): * Single equations (assignments): 3 * 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.000195/0.2912, allocations: 0.6144 MB / 0.5485 GB, free: 22.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.2912, allocations: 27.28 kB / 0.5485 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2912, allocations: 0 / 0.5485 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.2913, allocations: 13.33 kB / 0.5485 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.2914, allocations: 6.906 kB / 0.5485 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2925, allocations: 1.577 MB / 0.5501 GB, free: 21.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2926, allocations: 0.708 MB / 0.5507 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.2927, allocations: 16.5 kB / 0.5508 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.2927, allocations: 29.89 kB / 0.5508 GB, free: 20.7 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2927, allocations: 4 kB / 0.5508 GB, free: 20.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.3196, allocations: 2.171 MB / 0.5529 GB, free: 20.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.48, allocations: 3.812 kB / 0.5529 GB, free: 20.27 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.259758619125932] Failed to read output from testmodel.py, exit status != 0: 11.58324571698904 11.597366569 11.30628836 Calling exit ...