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.001304/0.001304, allocations: 113 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.559/1.559, allocations: 230.6 MB / 252.6 MB, free: 8.332 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.002377/0.002377, allocations: 219.7 kB / 309.2 MB, free: 3.168 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.04171/0.04171, allocations: 8.909 MB / 374.6 MB, free: 1.922 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.002573/0.002573, allocations: 83.88 kB / 0.4892 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3029, allocations: 55.61 MB / 0.5435 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001455/0.3043, allocations: 0.5329 MB / 0.544 GB, free: 26.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3055, allocations: 1.188 MB / 0.5452 GB, free: 25.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.3056, allocations: 0 / 0.5452 GB, free: 25.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3058, allocations: 15.44 kB / 0.5452 GB, free: 25.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.98e-05/0.3059, allocations: 21.86 kB / 0.5452 GB, free: 25.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.874e-05/0.3059, allocations: 14.73 kB / 0.5452 GB, free: 25.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.306, allocations: 34.16 kB / 0.5453 GB, free: 25.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.306, allocations: 0 / 0.5453 GB, free: 25.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3062, allocations: 39.7 kB / 0.5453 GB, free: 25.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3063, allocations: 41.47 kB / 0.5453 GB, free: 25.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3063, allocations: 0 / 0.5453 GB, free: 25.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3063, allocations: 3.375 kB / 0.5453 GB, free: 25.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.3064, allocations: 41.89 kB / 0.5454 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.3065, allocations: 26.28 kB / 0.5454 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.505e-05/0.3066, allocations: 47.52 kB / 0.5455 GB, free: 25.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3066, allocations: 11.16 kB / 0.5455 GB, free: 25.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3066, allocations: 0 / 0.5455 GB, free: 25.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3066, allocations: 0 / 0.5455 GB, free: 25.45 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.0005531/0.3071, allocations: 329.8 kB / 0.5458 GB, free: 25.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3072, allocations: 13.16 kB / 0.5458 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.3072, allocations: 38.03 kB / 0.5458 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3072, allocations: 12.12 kB / 0.5458 GB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3074, allocations: 158.5 kB / 0.546 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3074, allocations: 7.344 kB / 0.546 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.3074, allocations: 384 / 0.546 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.345e-05/0.3075, allocations: 39.53 kB / 0.546 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3075, allocations: 0 / 0.546 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.3075, allocations: 0 / 0.546 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3075, allocations: 0 / 0.546 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.3076, allocations: 17.62 kB / 0.5461 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.3077, allocations: 168.3 kB / 0.5462 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.3078, allocations: 34.72 kB / 0.5463 GB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.3078, allocations: 10.73 kB / 0.5463 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3078, allocations: 0 / 0.5463 GB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3079, allocations: 37.88 kB / 0.5463 GB, free: 24.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3079, allocations: 0 / 0.5463 GB, free: 24.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.308, allocations: 67.11 kB / 0.5464 GB, free: 24.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3081, allocations: 51.41 kB / 0.5464 GB, free: 24.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3083, allocations: 223.2 kB / 0.5466 GB, free: 24.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.3083, allocations: 25.7 kB / 0.5466 GB, free: 24.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.3083, allocations: 105.9 kB / 0.5467 GB, free: 24.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3083, allocations: 11.89 kB / 0.5468 GB, free: 24.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.3084, allocations: 16.88 kB / 0.5468 GB, free: 24.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.3084, allocations: 321.3 kB / 0.5471 GB, free: 23.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.3084, allocations: 10.53 kB / 0.5471 GB, free: 23.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.3085, allocations: 6.375 kB / 0.5471 GB, free: 23.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.3085, allocations: 26.05 kB / 0.5471 GB, free: 23.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3085, allocations: 0 / 0.5471 GB, free: 23.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.187e-05/0.3086, allocations: 75.14 kB / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3086, allocations: 3.031 kB / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3086, allocations: 0 / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3086, allocations: 3.219 kB / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.3087, allocations: 3.062 kB / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3087, allocations: 0 / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.3087, allocations: 6.656 kB / 0.5472 GB, free: 23.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3087, allocations: 7.938 kB / 0.5472 GB, free: 23.86 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.509e-05/0.3088, allocations: 122.7 kB / 0.5473 GB, free: 23.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3088, allocations: 18.28 kB / 0.5474 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3089, allocations: 68.91 kB / 0.5474 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3089, allocations: 0 / 0.5474 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3089, allocations: 6.844 kB / 0.5474 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3089, allocations: 0 / 0.5474 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.84e-05/0.309, allocations: 151.5 kB / 0.5476 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.309, allocations: 0 / 0.5476 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.3091, allocations: 12.95 kB / 0.5476 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3091, allocations: 4 kB / 0.5476 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3091, allocations: 0 / 0.5476 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3091, allocations: 0 / 0.5476 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3091, allocations: 0 / 0.5476 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.006e-05/0.3092, allocations: 84.77 kB / 0.5477 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.3092, allocations: 17.84 kB / 0.5477 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3092, allocations: 3.938 kB / 0.5477 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.6e-05/0.3092, allocations: 6.328 kB / 0.5477 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.3093, allocations: 4 kB / 0.5477 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3093, allocations: 3.031 kB / 0.5477 GB, free: 23.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.3094, allocations: 165.5 kB / 0.5479 GB, free: 23.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3094, allocations: 0 / 0.5479 GB, free: 23.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001906/0.3095, allocations: 12.69 kB / 0.5479 GB, free: 23.3 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.000245/0.3098, allocations: 0.6097 MB / 0.5485 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.3099, allocations: 27.14 kB / 0.5485 GB, free: 22.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3099, allocations: 0 / 0.5485 GB, free: 22.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.3099, allocations: 10.34 kB / 0.5485 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3101, allocations: 11.16 kB / 0.5485 GB, free: 22.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3113, allocations: 1.579 MB / 0.5501 GB, free: 21.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3114, allocations: 0.7116 MB / 0.5507 GB, free: 20.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.3115, allocations: 16 kB / 0.5508 GB, free: 20.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.3115, allocations: 26.62 kB / 0.5508 GB, free: 20.73 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3115, allocations: 4 kB / 0.5508 GB, free: 20.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.3407, allocations: 2.174 MB / 0.5529 GB, free: 20.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.28, allocations: 5.625 kB / 0.5529 GB, free: 20.3 MB / 382.1 MB " [Timeout remaining time 649] (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: 14.231687394996698] Failed to read output from testmodel.py, exit status != 0: 11.382724606999545 11.393922039 11.084820128 Calling exit ...