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.001738/0.001738, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.531/1.531, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001697/0.001697, allocations: 209.8 kB / 309.2 MB, free: 3.172 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.04115/0.04115, allocations: 8.92 MB / 374.6 MB, free: 6.578 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.002543/0.002543, allocations: 87.86 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.125, allocations: 55.61 MB / 0.5434 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.00268/0.1277, allocations: 1.199 MB / 0.5446 GB, free: 3.867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.33e-05/0.1278, allocations: 7.922 kB / 0.5446 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.032e-05/0.1278, allocations: 4 kB / 0.5446 GB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.1278, allocations: 3.938 kB / 0.5446 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.1279, allocations: 0 / 0.5446 GB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.938e-05/0.1279, allocations: 3.984 kB / 0.5446 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.128, allocations: 15.94 kB / 0.5446 GB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.1281, allocations: 4 kB / 0.5446 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.1281, allocations: 0 / 0.5446 GB, free: 3.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.1282, allocations: 11.92 kB / 0.5446 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1282, allocations: 0 / 0.5446 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.1282, allocations: 0 / 0.5446 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1282, allocations: 0 / 0.5446 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.1283, allocations: 0 / 0.5446 GB, free: 3.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.392e-05/0.1283, allocations: 16.14 kB / 0.5447 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1283, allocations: 0 / 0.5447 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1283, allocations: 0 / 0.5447 GB, free: 3.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1283, allocations: 4 kB / 0.5447 GB, free: 3.797 MB / 366.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.0004665/0.1288, allocations: 242.5 kB / 0.5449 GB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1289, allocations: 15.98 kB / 0.5449 GB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.1289, allocations: 30.75 kB / 0.5449 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1289, allocations: 0.9375 kB / 0.5449 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1291, allocations: 114.4 kB / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1291, allocations: 384 / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1291, allocations: 384 / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1292, allocations: 47.97 kB / 0.5451 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1292, allocations: 7.938 kB / 0.5451 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1293, allocations: 0 / 0.5451 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1293, allocations: 4 kB / 0.5451 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.1293, allocations: 3.938 kB / 0.5451 GB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.1298, allocations: 165.6 kB / 0.5453 GB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/0.1299, allocations: 37.25 kB / 0.5453 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.1299, allocations: 15.83 kB / 0.5453 GB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.1299, allocations: 12 kB / 0.5453 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.13, allocations: 34.55 kB / 0.5454 GB, free: 2.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.13, allocations: 0 / 0.5454 GB, free: 2.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.1301, allocations: 49.58 kB / 0.5454 GB, free: 2.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1302, allocations: 77.11 kB / 0.5455 GB, free: 2.777 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.1303, allocations: 101.8 kB / 0.5456 GB, free: 2.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1303, allocations: 25.7 kB / 0.5456 GB, free: 2.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.514e-05/0.1303, allocations: 80.14 kB / 0.5457 GB, free: 2.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.1304, allocations: 4.328 kB / 0.5457 GB, free: 2.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1304, allocations: 17.72 kB / 0.5457 GB, free: 2.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1305, allocations: 318.8 kB / 0.546 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.1306, allocations: 7.938 kB / 0.546 GB, free: 2.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.1306, allocations: 13.72 kB / 0.546 GB, free: 2.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.1306, allocations: 29.64 kB / 0.5461 GB, free: 2.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1306, allocations: 0 / 0.5461 GB, free: 2.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.025e-05/0.1307, allocations: 33.7 kB / 0.5461 GB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1307, allocations: 12.06 kB / 0.5461 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1307, allocations: 4 kB / 0.5461 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1307, allocations: 0 / 0.5461 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1309, allocations: 31.92 kB / 0.5461 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.133, allocations: 2.512 MB / 0.5486 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.133, allocations: 0 / 0.5486 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.133, allocations: 4.031 kB / 0.5486 GB, free: 15.32 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 0.0001003/0.1331, allocations: 109.8 kB / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1332, allocations: 7.938 kB / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-06/0.1332, allocations: 3.156 kB / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1332, allocations: 0 / 0.5487 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1332, allocations: 4.156 kB / 0.5487 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1332, allocations: 0 / 0.5487 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.1335, allocations: 156.7 kB / 0.5489 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1335, allocations: 3.984 kB / 0.5489 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.1337, allocations: 35.91 kB / 0.5489 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1337, allocations: 7.938 kB / 0.5489 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1337, allocations: 4 kB / 0.5489 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.1356, allocations: 2.5 MB / 0.5514 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1356, allocations: 8.094 kB / 0.5514 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.717e-05/0.1356, allocations: 69.92 kB / 0.5514 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.1357, allocations: 7.938 kB / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-06/0.1357, allocations: 0 / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.1357, allocations: 0 / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.1357, allocations: 4 kB / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1357, allocations: 0 / 0.5514 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.1358, allocations: 83.27 kB / 0.5515 GB, free: 12.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1358, allocations: 0 / 0.5515 GB, free: 12.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.136, allocations: 4.125 kB / 0.5515 GB, free: 12.02 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.000445/0.1364, allocations: 0.6054 MB / 0.5521 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.1369, allocations: 35.94 kB / 0.5521 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1369, allocations: 3.938 kB / 0.5522 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.1372, allocations: 44.05 kB / 0.5522 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.1374, allocations: 11.94 kB / 0.5522 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.1379, allocations: 148.1 kB / 0.5523 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.138, allocations: 67.28 kB / 0.5524 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.951e-05/0.138, allocations: 16.12 kB / 0.5524 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.1381, allocations: 27.39 kB / 0.5525 GB, free: 10.97 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1381, allocations: 0 / 0.5525 GB, free: 10.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.1696, allocations: 2.256 MB / 0.5547 GB, free: 8.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.24, allocations: 6.734 kB / 0.5547 GB, free: 8.828 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: 14.408129898831248] Failed to read output from testmodel.py, exit status != 0: 11.341192649677396 11.532379269 11.401656172 Calling exit ...