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.001336/0.001336, allocations: 109.6 kB / 16.46 MB, free: 6.453 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.496/1.496, allocations: 230.6 MB / 249.8 MB, free: 9.242 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.001608/0.001608, allocations: 212.3 kB / 306 MB, free: 4.316 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.04167/0.04167, allocations: 8.912 MB / 371 MB, free: 3.453 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.002434/0.002434, allocations: 79.89 kB / 495.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3137, allocations: 55.56 MB / 0.5384 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001506/0.3152, allocations: 0.536 MB / 0.5389 GB, free: 26.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3164, allocations: 1.178 MB / 0.54 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.3164, allocations: 0 / 0.54 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.3166, allocations: 10.2 kB / 0.54 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3167, allocations: 32.98 kB / 0.5401 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.062e-05/0.3168, allocations: 6.531 kB / 0.5401 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.321e-05/0.3169, allocations: 37.8 kB / 0.5401 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.3169, allocations: 0 / 0.5401 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3171, allocations: 36.09 kB / 0.5401 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3172, allocations: 40.16 kB / 0.5402 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3172, allocations: 0 / 0.5402 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.3172, allocations: 3.156 kB / 0.5402 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.3173, allocations: 38.06 kB / 0.5402 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.3174, allocations: 33.62 kB / 0.5403 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.702e-05/0.3174, allocations: 44.5 kB / 0.5403 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3174, allocations: 3.188 kB / 0.5403 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3174, allocations: 0 / 0.5403 GB, free: 25.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.3174, allocations: 0 / 0.5403 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005208/0.318, allocations: 410.2 kB / 0.5407 GB, free: 24.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.318, allocations: 9.656 kB / 0.5407 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.318, allocations: 41.3 kB / 0.5407 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.3181, allocations: 15.97 kB / 0.5408 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3182, allocations: 219.4 kB / 0.541 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3183, allocations: 384 / 0.541 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3183, allocations: 384 / 0.541 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.3183, allocations: 43.45 kB / 0.541 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3184, allocations: 0 / 0.541 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.3184, allocations: 3.516 kB / 0.541 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3184, allocations: 0 / 0.541 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.3184, allocations: 10.38 kB / 0.541 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3186, allocations: 201.1 kB / 0.5412 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.3187, allocations: 28.27 kB / 0.5412 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.3187, allocations: 15.59 kB / 0.5413 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3187, allocations: 3.938 kB / 0.5413 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3187, allocations: 37.69 kB / 0.5413 GB, free: 24.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.3187, allocations: 0 / 0.5413 GB, free: 24.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000167/0.3189, allocations: 67.64 kB / 0.5414 GB, free: 24.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.3189, allocations: 55.41 kB / 0.5414 GB, free: 24.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3191, allocations: 208.4 kB / 0.5416 GB, free: 24.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3191, allocations: 29.7 kB / 0.5416 GB, free: 24.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3191, allocations: 106.4 kB / 0.5417 GB, free: 23.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3192, allocations: 7.891 kB / 0.5418 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3192, allocations: 20.36 kB / 0.5418 GB, free: 23.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.3192, allocations: 321.5 kB / 0.5421 GB, free: 23.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.3192, allocations: 3.344 kB / 0.5421 GB, free: 23.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.545e-05/0.3193, allocations: 22.05 kB / 0.5421 GB, free: 23.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.3193, allocations: 21.86 kB / 0.5421 GB, free: 23.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3193, allocations: 0 / 0.5421 GB, free: 23.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.11e-05/0.3194, allocations: 64.78 kB / 0.5422 GB, free: 23.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3194, allocations: 6.156 kB / 0.5422 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3194, allocations: 0 / 0.5422 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3194, allocations: 0 / 0.5422 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3195, allocations: 6.312 kB / 0.5422 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3195, allocations: 7.281 kB / 0.5422 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3195, allocations: 3.062 kB / 0.5422 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3195, allocations: 4 kB / 0.5422 GB, free: 23.53 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 6.025e-05/0.3196, allocations: 128.1 kB / 0.5423 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.3196, allocations: 14.94 kB / 0.5423 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.3197, allocations: 72.05 kB / 0.5424 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3197, allocations: 0 / 0.5424 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3197, allocations: 0 / 0.5424 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3198, allocations: 2.938 kB / 0.5424 GB, free: 23.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.3199, allocations: 182.5 kB / 0.5426 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3199, allocations: 0 / 0.5426 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.3199, allocations: 14.31 kB / 0.5426 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3199, allocations: 0 / 0.5426 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3199, allocations: 0 / 0.5426 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3199, allocations: 0 / 0.5426 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3199, allocations: 3.328 kB / 0.5426 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.32, allocations: 79.56 kB / 0.5427 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3201, allocations: 102.6 kB / 0.5428 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.3201, allocations: 0 / 0.5428 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3202, allocations: 7.031 kB / 0.5428 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.3202, allocations: 3.516 kB / 0.5428 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3202, allocations: 7.188 kB / 0.5428 GB, free: 22.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3204, allocations: 169 kB / 0.543 GB, free: 22.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3204, allocations: 0 / 0.543 GB, free: 22.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.3207, allocations: 6.344 kB / 0.543 GB, free: 22.84 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.0002741/0.321, allocations: 0.621 MB / 0.5436 GB, free: 22.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.3211, allocations: 27.44 kB / 0.5436 GB, free: 22.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3211, allocations: 0 / 0.5436 GB, free: 22.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.3211, allocations: 9.328 kB / 0.5436 GB, free: 22.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3214, allocations: 9.469 kB / 0.5436 GB, free: 22.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.3231, allocations: 1.582 MB / 0.5452 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3232, allocations: 0.7042 MB / 0.5458 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.3233, allocations: 20.06 kB / 0.5459 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.3234, allocations: 22.95 kB / 0.5459 GB, free: 20.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3234, allocations: 3.156 kB / 0.5459 GB, free: 20.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.3581, allocations: 2.049 MB / 0.5479 GB, free: 19.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.239, allocations: 15.03 kB / 0.5479 GB, free: 19.85 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1_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_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.094158603998949] Failed to read output from testmodel.py, exit status != 0: 8.306373986997642 8.315561738 7.995954412 Calling exit ...