Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.001353/0.001353, allocations: 110.4 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.52/1.52, allocations: 230.6 MB / 252.6 MB, free: 8.285 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.001814/0.001814, allocations: 207.5 kB / 309.2 MB, free: 3.129 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.04199/0.04199, allocations: 8.922 MB / 374.6 MB, free: 1.887 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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",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.002602/0.002602, allocations: 87.86 kB / 0.4892 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2699, allocations: 55.59 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002058/0.272, allocations: 1.211 MB / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.279e-05/0.272, allocations: 11.27 kB / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.272, allocations: 0 / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.2721, allocations: 0 / 0.5447 GB, free: 25.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.2721, allocations: 7.156 kB / 0.5447 GB, free: 25.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.197e-05/0.2722, allocations: 0 / 0.5447 GB, free: 25.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.2722, allocations: 6.312 kB / 0.5447 GB, free: 25.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.2723, allocations: 6.719 kB / 0.5447 GB, free: 25.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.2723, allocations: 6.719 kB / 0.5447 GB, free: 25.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.2724, allocations: 2.875 kB / 0.5447 GB, free: 25.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2724, allocations: 0 / 0.5447 GB, free: 25.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-06/0.2724, allocations: 0 / 0.5447 GB, free: 25.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2724, allocations: 0 / 0.5447 GB, free: 25.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.2724, allocations: 14.89 kB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.861e-05/0.2725, allocations: 8.234 kB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2725, allocations: 0 / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2725, allocations: 0 / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2725, allocations: 0 / 0.5447 GB, free: 25.9 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000326/0.2728, allocations: 251.5 kB / 0.545 GB, free: 25.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2729, allocations: 6.375 kB / 0.545 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.2729, allocations: 34.09 kB / 0.545 GB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.2729, allocations: 0.9375 kB / 0.545 GB, free: 25.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.273, allocations: 109.7 kB / 0.5451 GB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.273, allocations: 4.375 kB / 0.5451 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.273, allocations: 384 / 0.5451 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.2731, allocations: 46.56 kB / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2731, allocations: 3.938 kB / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.2731, allocations: 0 / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2731, allocations: 7.156 kB / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.2731, allocations: 0 / 0.5452 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.2736, allocations: 165.4 kB / 0.5453 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.2736, allocations: 45.58 kB / 0.5454 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.2736, allocations: 13.03 kB / 0.5454 GB, free: 25.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.2736, allocations: 3.938 kB / 0.5454 GB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.2736, allocations: 38.56 kB / 0.5454 GB, free: 25.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2736, allocations: 0 / 0.5454 GB, free: 25.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.2738, allocations: 46.55 kB / 0.5455 GB, free: 25.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2738, allocations: 84.33 kB / 0.5456 GB, free: 24.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.235e-05/0.2739, allocations: 93.08 kB / 0.5456 GB, free: 24.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2739, allocations: 29.64 kB / 0.5457 GB, free: 24.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.419e-05/0.2739, allocations: 80.14 kB / 0.5457 GB, free: 24.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.2739, allocations: 7.797 kB / 0.5458 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.2739, allocations: 20.94 kB / 0.5458 GB, free: 24.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.274, allocations: 310.8 kB / 0.5461 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.274, allocations: 3.375 kB / 0.5461 GB, free: 24.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.274, allocations: 17 kB / 0.5461 GB, free: 24.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.274, allocations: 20.27 kB / 0.5461 GB, free: 24.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.274, allocations: 4 kB / 0.5461 GB, free: 24.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.079e-05/0.2741, allocations: 43.05 kB / 0.5462 GB, free: 24.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2741, allocations: 10.72 kB / 0.5462 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2741, allocations: 0 / 0.5462 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2741, allocations: 0 / 0.5462 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.2743, allocations: 28.78 kB / 0.5462 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.2753, allocations: 2.53 MB / 0.5487 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.2754, allocations: 4.156 kB / 0.5487 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2754, allocations: 3.984 kB / 0.5487 GB, free: 21.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.2754, allocations: 110.7 kB / 0.5488 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.2754, allocations: 3.938 kB / 0.5488 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.004e-05/0.2754, allocations: 7.156 kB / 0.5488 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.91e-07/0.2754, allocations: 2.969 kB / 0.5488 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.2755, allocations: 0 / 0.5488 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2755, allocations: 0 / 0.5488 GB, free: 21.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2757, allocations: 162.5 kB / 0.5489 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2757, allocations: 0 / 0.5489 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2759, allocations: 22.77 kB / 0.549 GB, free: 21.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2759, allocations: 7.156 kB / 0.549 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2759, allocations: 0 / 0.549 GB, free: 21.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000826/0.2767, allocations: 2.524 MB / 0.5514 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2767, allocations: 3.25 kB / 0.5514 GB, free: 18.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.103e-05/0.2768, allocations: 68.08 kB / 0.5515 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.2768, allocations: 7.156 kB / 0.5515 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-06/0.2768, allocations: 4 kB / 0.5515 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.2768, allocations: 3.219 kB / 0.5515 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2768, allocations: 7.422 kB / 0.5515 GB, free: 18.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2768, allocations: 0 / 0.5515 GB, free: 18.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.795e-05/0.2768, allocations: 82.44 kB / 0.5516 GB, free: 18.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2768, allocations: 0 / 0.5516 GB, free: 18.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.2771, allocations: 3.312 kB / 0.5516 GB, free: 18.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001999/0.2773, allocations: 0.6026 MB / 0.5522 GB, free: 18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.2777, allocations: 51.41 kB / 0.5522 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2777, allocations: 0 / 0.5522 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.2781, allocations: 29.58 kB / 0.5523 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.2782, allocations: 3.375 kB / 0.5523 GB, free: 17.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.2786, allocations: 138.8 kB / 0.5524 GB, free: 17.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2787, allocations: 0.6861 MB / 0.5531 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.404e-05/0.2788, allocations: 22.12 kB / 0.5531 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.2789, allocations: 34 kB / 0.5531 GB, free: 17.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2789, allocations: 0 / 0.5531 GB, free: 17.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3063, allocations: 1.899 MB / 0.555 GB, free: 16.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.17, allocations: 7.812 kB / 0.555 GB, free: 16.67 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.Attributes_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_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.971125002004555] Failed to read output from testmodel.py, exit status != 0: 11.275538893001794 11.297091518 11.020264551 Calling exit ...