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.00159/0.00159, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.624/1.624, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.001752/0.001752, allocations: 210.9 kB / 309.2 MB, free: 3.137 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.04446/0.04446, allocations: 8.923 MB / 374.6 MB, free: 6.613 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: translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [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.00263/0.00263, allocations: 83.88 kB / 0.4896 GB, free: 44.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1214, allocations: 55.6 MB / 0.5439 GB, free: 4.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002608/0.124, allocations: 1.207 MB / 0.5451 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.454e-05/0.1241, allocations: 3.984 kB / 0.5451 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.1241, allocations: 0 / 0.5451 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.1241, allocations: 3.938 kB / 0.5451 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.68e-05/0.1242, allocations: 0 / 0.5451 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.187e-05/0.1242, allocations: 0 / 0.5451 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.1243, allocations: 23.92 kB / 0.5451 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.096e-05/0.1244, allocations: 3.984 kB / 0.5451 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.1244, allocations: 4 kB / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.1245, allocations: 0 / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1245, allocations: 0 / 0.5451 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.1245, allocations: 3.938 kB / 0.5451 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1245, allocations: 0 / 0.5451 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1245, allocations: 4 kB / 0.5451 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.377e-05/0.1246, allocations: 7.938 kB / 0.5451 GB, free: 3.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1246, allocations: 0 / 0.5451 GB, free: 3.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1246, allocations: 0 / 0.5451 GB, free: 3.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1246, allocations: 7.984 kB / 0.5451 GB, free: 3.312 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.0004288/0.125, allocations: 242.4 kB / 0.5454 GB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1251, allocations: 15.92 kB / 0.5454 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.1251, allocations: 0.9375 kB / 0.5454 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1253, allocations: 114.5 kB / 0.5455 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1253, allocations: 4.312 kB / 0.5455 GB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.1253, allocations: 384 / 0.5455 GB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1254, allocations: 43.98 kB / 0.5455 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1254, allocations: 4.188 kB / 0.5455 GB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1254, allocations: 7.938 kB / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1254, allocations: 0 / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.677e-05/0.1254, allocations: 0 / 0.5456 GB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.1259, allocations: 146.1 kB / 0.5457 GB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.047e-05/0.126, allocations: 33.25 kB / 0.5457 GB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.126, allocations: 23.89 kB / 0.5458 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.126, allocations: 4 kB / 0.5458 GB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.126, allocations: 34.5 kB / 0.5458 GB, free: 2.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.126, allocations: 0 / 0.5458 GB, free: 2.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.1262, allocations: 49.58 kB / 0.5458 GB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1263, allocations: 77.11 kB / 0.5459 GB, free: 2.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.1264, allocations: 97.84 kB / 0.546 GB, free: 2.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1264, allocations: 25.7 kB / 0.546 GB, free: 2.234 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.1264, allocations: 80.14 kB / 0.5461 GB, free: 2.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1264, allocations: 16.25 kB / 0.5461 GB, free: 2.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1265, allocations: 17.72 kB / 0.5461 GB, free: 2.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1266, allocations: 310.8 kB / 0.5464 GB, free: 1.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.1266, allocations: 4 kB / 0.5464 GB, free: 1.797 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.1267, allocations: 21.7 kB / 0.5465 GB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.1267, allocations: 17.66 kB / 0.5465 GB, free: 1.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1267, allocations: 0 / 0.5465 GB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.589e-05/0.1268, allocations: 37.7 kB / 0.5465 GB, free: 1.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1268, allocations: 8 kB / 0.5465 GB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1268, allocations: 8.125 kB / 0.5465 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1268, allocations: 3.938 kB / 0.5465 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.127, allocations: 27.97 kB / 0.5466 GB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.1289, allocations: 2.478 MB / 0.549 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.1289, allocations: 4 kB / 0.549 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1289, allocations: 4.031 kB / 0.549 GB, free: 14.97 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 9.689e-05/0.129, allocations: 112.8 kB / 0.5491 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.129, allocations: 7.938 kB / 0.5491 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.271e-05/0.129, allocations: 7.156 kB / 0.5491 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.129, allocations: 0 / 0.5491 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.129, allocations: 8.094 kB / 0.5491 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.129, allocations: 0 / 0.5491 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.1293, allocations: 133.3 kB / 0.5492 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1293, allocations: 0 / 0.5492 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1295, allocations: 23.98 kB / 0.5493 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1295, allocations: 7.938 kB / 0.5493 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1295, allocations: 7.984 kB / 0.5493 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.1312, allocations: 2.47 MB / 0.5517 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.1312, allocations: 4.062 kB / 0.5517 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.086e-05/0.1313, allocations: 73.91 kB / 0.5518 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.1313, allocations: 4 kB / 0.5518 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-06/0.1313, allocations: 3.984 kB / 0.5518 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.1313, allocations: 0 / 0.5518 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1314, allocations: 4 kB / 0.5518 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1314, allocations: 0 / 0.5518 GB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1314, allocations: 79.28 kB / 0.5519 GB, free: 11.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1314, allocations: 0 / 0.5519 GB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002064/0.1316, allocations: 8.062 kB / 0.5519 GB, free: 11.77 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.000105/0.1317, allocations: 95.25 kB / 0.5519 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.1322, allocations: 39.91 kB / 0.552 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1322, allocations: 0 / 0.552 GB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.1326, allocations: 32.09 kB / 0.552 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.1327, allocations: 4 kB / 0.552 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.1331, allocations: 110.5 kB / 0.5521 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.1331, allocations: 67.28 kB / 0.5522 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.377e-05/0.1332, allocations: 24.11 kB / 0.5522 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.1333, allocations: 23.41 kB / 0.5522 GB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1333, allocations: 0 / 0.5522 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003243/0.1365, allocations: 0.8316 MB / 0.553 GB, free: 10.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.27990241907537] Failed to read output from testmodel.py, exit status != 0: 0.14420342445373535 0.37689030100000004 0.2496373 Calling exit ...