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.001559/0.001559, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.498/1.498, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001619/0.001619, allocations: 216.3 kB / 309.2 MB, free: 3.137 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.04309/0.04309, allocations: 8.918 MB / 374.6 MB, free: 1.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.004351/0.004351, allocations: 91.81 kB / 0.4892 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3115, allocations: 55.6 MB / 0.5435 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001509/0.313, allocations: 0.5087 MB / 0.544 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.3141, allocations: 1.159 MB / 0.5451 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.3142, allocations: 3.25 kB / 0.5451 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3144, allocations: 20.62 kB / 0.5451 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.3145, allocations: 26.08 kB / 0.5452 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.649e-06/0.3145, allocations: 0 / 0.5452 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.438e-05/0.3146, allocations: 28.27 kB / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.3146, allocations: 6.703 kB / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3148, allocations: 24.38 kB / 0.5452 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3149, allocations: 23.8 kB / 0.5453 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3149, allocations: 0 / 0.5453 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.3149, allocations: 0 / 0.5453 GB, free: 25.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3151, allocations: 82.89 kB / 0.5453 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.3151, allocations: 22.47 kB / 0.5454 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.3152, allocations: 51.38 kB / 0.5454 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3152, allocations: 0 / 0.5454 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3152, allocations: 0 / 0.5454 GB, free: 25.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3152, allocations: 0 / 0.5454 GB, free: 25.33 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.0004161/0.3156, allocations: 342.2 kB / 0.5457 GB, free: 25.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3156, allocations: 9.531 kB / 0.5457 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3157, allocations: 106 kB / 0.5458 GB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.3157, allocations: 86.58 kB / 0.5459 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3159, allocations: 237.6 kB / 0.5461 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.3159, allocations: 150.9 kB / 0.5463 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.316, allocations: 158.3 kB / 0.5464 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.529e-05/0.316, allocations: 109 kB / 0.5465 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.316, allocations: 75.28 kB / 0.5466 GB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.316, allocations: 150.6 kB / 0.5468 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.3161, allocations: 150.6 kB / 0.5469 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.238e-05/0.3161, allocations: 153.8 kB / 0.5471 GB, free: 23.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3163, allocations: 458 kB / 0.5475 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.954e-05/0.3163, allocations: 173.1 kB / 0.5477 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.3163, allocations: 80.14 kB / 0.5477 GB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.3163, allocations: 75.28 kB / 0.5478 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3164, allocations: 113.8 kB / 0.5479 GB, free: 22.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3164, allocations: 0 / 0.5479 GB, free: 22.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.81e-05/0.3164, allocations: 40.05 kB / 0.5479 GB, free: 22.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3165, allocations: 126.7 kB / 0.5481 GB, free: 22.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3167, allocations: 232.6 kB / 0.5483 GB, free: 22.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.3167, allocations: 25.7 kB / 0.5483 GB, free: 22.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.3167, allocations: 121.2 kB / 0.5484 GB, free: 22.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.3167, allocations: 3.031 kB / 0.5484 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.3167, allocations: 17.66 kB / 0.5485 GB, free: 22.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.3168, allocations: 324.6 kB / 0.5488 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-06/0.3168, allocations: 0 / 0.5488 GB, free: 21.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-06/0.3168, allocations: 0 / 0.5488 GB, free: 21.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.414e-05/0.3168, allocations: 75.28 kB / 0.5488 GB, free: 21.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3168, allocations: 75.28 kB / 0.5489 GB, free: 21.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.064e-05/0.3168, allocations: 46.97 kB / 0.5489 GB, free: 21.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3169, allocations: 84.66 kB / 0.549 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3169, allocations: 90.02 kB / 0.5491 GB, free: 21.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.3169, allocations: 150.6 kB / 0.5493 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.057e-05/0.3169, allocations: 75.28 kB / 0.5493 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.072e-05/0.3169, allocations: 154.5 kB / 0.5495 GB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.317, allocations: 78.59 kB / 0.5496 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.317, allocations: 79.22 kB / 0.5496 GB, free: 21.07 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 7.259e-05/0.3171, allocations: 294.4 kB / 0.5499 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3171, allocations: 123.1 kB / 0.55 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.3172, allocations: 125.8 kB / 0.5501 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.3172, allocations: 180.2 kB / 0.5503 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.3172, allocations: 183.7 kB / 0.5505 GB, free: 20.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.3172, allocations: 187.5 kB / 0.5507 GB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3174, allocations: 408.6 kB / 0.5511 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.3174, allocations: 109 kB / 0.5512 GB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.3174, allocations: 104.9 kB / 0.5513 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.3174, allocations: 176.3 kB / 0.5514 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.3175, allocations: 187.3 kB / 0.5516 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.152e-05/0.3175, allocations: 183.7 kB / 0.5518 GB, free: 18.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/0.3175, allocations: 180.2 kB / 0.552 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.378e-05/0.3176, allocations: 313 kB / 0.5523 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.3176, allocations: 126.8 kB / 0.5524 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.3176, allocations: 184.2 kB / 0.5526 GB, free: 18.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.3177, allocations: 112.2 kB / 0.5527 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3177, allocations: 179.8 kB / 0.5528 GB, free: 17.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3177, allocations: 101 kB / 0.5529 GB, free: 17.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3178, allocations: 177.5 kB / 0.5531 GB, free: 17.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 0 / 0.5531 GB, free: 17.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3181, allocations: 7.094 kB / 0.5531 GB, free: 17.51 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.0001957/0.3183, allocations: 0.8135 MB / 0.5539 GB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.88e-05/0.3183, allocations: 3.375 kB / 0.5539 GB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3183, allocations: 0 / 0.5539 GB, free: 16.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3183, allocations: 4 kB / 0.5539 GB, free: 16.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3186, allocations: 463.6 kB / 0.5543 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3197, allocations: 2.048 MB / 0.5563 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3199, allocations: 0.7112 MB / 0.557 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.3199, allocations: 7.25 kB / 0.5571 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3199, allocations: 26.77 kB / 0.5571 GB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3199, allocations: 4.031 kB / 0.5571 GB, free: 13.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.353, allocations: 1.976 MB / 0.559 GB, free: 13.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.34, allocations: 10.98 kB / 0.559 GB, free: 13.38 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.104400519048795] Failed to read output from testmodel.py, exit status != 0: 11.442865306977183 11.460681626 11.140911682 Calling exit ...