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.001319/0.001319, allocations: 105.5 kB / 16.45 MB, free: 6.512 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.508/1.508, allocations: 230.6 MB / 249.8 MB, free: 9.223 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.002026/0.002026, allocations: 208.8 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.04121/0.04121, allocations: 8.921 MB / 371 MB, free: 3.445 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.002688/0.002688, allocations: 83.88 kB / 495.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3383, allocations: 55.57 MB / 0.5384 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001801/0.3401, allocations: 1.201 MB / 0.5395 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 3.876e-05/0.3401, allocations: 3.281 kB / 0.5395 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.3401, allocations: 0 / 0.5395 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.3402, allocations: 0 / 0.5395 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.3402, allocations: 11.08 kB / 0.5395 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.737e-05/0.3402, allocations: 0 / 0.5395 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.3403, allocations: 14.75 kB / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.3404, allocations: 3.219 kB / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.3404, allocations: 7.062 kB / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.3404, allocations: 0 / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3404, allocations: 0 / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.3404, allocations: 0 / 0.5396 GB, free: 25.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3404, allocations: 10.67 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.3405, allocations: 3.938 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.758e-05/0.3405, allocations: 5.016 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3405, allocations: 3.938 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3405, allocations: 0 / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3405, allocations: 7.312 kB / 0.5396 GB, free: 25.74 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.0003273/0.3409, allocations: 317.2 kB / 0.5399 GB, free: 25.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3409, allocations: 9.062 kB / 0.5399 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.3409, allocations: 34.75 kB / 0.5399 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.787e-05/0.341, allocations: 0.9375 kB / 0.5399 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.341, allocations: 171 kB / 0.5401 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.341, allocations: 384 / 0.5401 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3411, allocations: 384 / 0.5401 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.3411, allocations: 49 kB / 0.5402 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3412, allocations: 7.125 kB / 0.5402 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3412, allocations: 0 / 0.5402 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3412, allocations: 0 / 0.5402 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.3412, allocations: 10.38 kB / 0.5402 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.3416, allocations: 190.2 kB / 0.5404 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.3416, allocations: 40.03 kB / 0.5404 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.3417, allocations: 17.17 kB / 0.5404 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3417, allocations: 0 / 0.5404 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.3417, allocations: 45.97 kB / 0.5405 GB, free: 24.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3417, allocations: 0 / 0.5405 GB, free: 24.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000123/0.3418, allocations: 43.39 kB / 0.5405 GB, free: 24.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.3418, allocations: 84.2 kB / 0.5406 GB, free: 24.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.376e-05/0.3419, allocations: 96.28 kB / 0.5407 GB, free: 24.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.3419, allocations: 25.7 kB / 0.5407 GB, free: 24.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.236e-05/0.3419, allocations: 84.5 kB / 0.5408 GB, free: 24.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3419, allocations: 7.953 kB / 0.5408 GB, free: 24.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.342, allocations: 17 kB / 0.5408 GB, free: 24.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.342, allocations: 310.8 kB / 0.5411 GB, free: 24.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.342, allocations: 6.703 kB / 0.5411 GB, free: 24.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.342, allocations: 17 kB / 0.5411 GB, free: 24.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.342, allocations: 21 kB / 0.5411 GB, free: 24.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.342, allocations: 0 / 0.5411 GB, free: 24.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.308e-05/0.3421, allocations: 43.11 kB / 0.5412 GB, free: 23.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3421, allocations: 14.11 kB / 0.5412 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3421, allocations: 0 / 0.5412 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3421, allocations: 0 / 0.5412 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3423, allocations: 25.41 kB / 0.5412 GB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.3433, allocations: 2.716 MB / 0.5439 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3433, allocations: 8.156 kB / 0.5439 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3433, allocations: 0 / 0.5439 GB, free: 21.1 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 4.754e-05/0.3434, allocations: 109.1 kB / 0.544 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.3434, allocations: 11.2 kB / 0.544 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.3434, allocations: 7.125 kB / 0.544 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.3434, allocations: 3.25 kB / 0.544 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.3434, allocations: 0 / 0.544 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3434, allocations: 0 / 0.544 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.3437, allocations: 185.2 kB / 0.5442 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3437, allocations: 7.234 kB / 0.5442 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3438, allocations: 26.12 kB / 0.5442 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3438, allocations: 7.938 kB / 0.5442 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3438, allocations: 3.156 kB / 0.5442 GB, free: 20.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/0.3447, allocations: 2.732 MB / 0.5469 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3447, allocations: 0 / 0.5469 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.982e-05/0.3448, allocations: 71.11 kB / 0.547 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.3448, allocations: 84.17 kB / 0.547 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-06/0.3448, allocations: 0 / 0.547 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.3448, allocations: 0 / 0.547 GB, free: 17.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3448, allocations: 11.44 kB / 0.547 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3448, allocations: 3.469 kB / 0.547 GB, free: 17.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.3448, allocations: 78.53 kB / 0.5471 GB, free: 17.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3448, allocations: 0 / 0.5471 GB, free: 17.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.345, allocations: 3.094 kB / 0.5471 GB, free: 17.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.0002036/0.3453, allocations: 0.6127 MB / 0.5477 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.3457, allocations: 28.64 kB / 0.5477 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3457, allocations: 0 / 0.5477 GB, free: 16.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.3461, allocations: 40.31 kB / 0.5478 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.3462, allocations: 2.969 kB / 0.5478 GB, free: 16.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.3465, allocations: 147.6 kB / 0.5479 GB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.94e-05/0.3466, allocations: 0.6824 MB / 0.5486 GB, free: 16.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.3467, allocations: 14.47 kB / 0.5486 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.3468, allocations: 24.97 kB / 0.5486 GB, free: 16.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3468, allocations: 0 / 0.5486 GB, free: 16.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.3699, allocations: 1.759 MB / 0.5504 GB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.078, allocations: 14.67 kB / 0.5504 GB, free: 15.66 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.904896056992584] Failed to read output from testmodel.py, exit status != 0: 8.142723487006151 8.151612337 7.809087981 Calling exit ...