Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 245.5 MB, free: 14.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 195 kB / 300.5 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04308/0.04308, allocations: 8.932 MB / 364.3 MB, free: 10.15 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 87.89 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09341/0.09595, allocations: 54.41 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002636/0.09859, allocations: 1.379 MB / 0.5303 GB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1, allocations: 0.8808 MB / 0.5311 GB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.1001, allocations: 0 / 0.5311 GB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1003, allocations: 95.61 kB / 0.5312 GB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.1004, allocations: 3.938 kB / 0.5312 GB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.1013, allocations: 458 kB / 0.5317 GB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1015, allocations: 35.8 kB / 0.5317 GB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1015, allocations: 4 kB / 0.5317 GB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1016, allocations: 19.97 kB / 0.5317 GB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.1017, allocations: 11.94 kB / 0.5317 GB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.1017, allocations: 4 kB / 0.5317 GB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.1019, allocations: 119.8 kB / 0.5319 GB, free: 13.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1019, allocations: 7.938 kB / 0.5319 GB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.102, allocations: 11.94 kB / 0.5319 GB, free: 13.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1022, allocations: 123.6 kB / 0.532 GB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1022, allocations: 3.938 kB / 0.532 GB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1022, allocations: 0 / 0.532 GB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1022, allocations: 4 kB / 0.532 GB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009629/0.1032, allocations: 431 kB / 0.5324 GB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1032, allocations: 12.03 kB / 0.5324 GB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1032, allocations: 0.9375 kB / 0.5324 GB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1034, allocations: 176.3 kB / 0.5326 GB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1034, allocations: 4.312 kB / 0.5326 GB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1035, allocations: 8.375 kB / 0.5326 GB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1036, allocations: 54 kB / 0.5327 GB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1036, allocations: 0 / 0.5327 GB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1036, allocations: 0 / 0.5327 GB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1036, allocations: 0 / 0.5327 GB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.1037, allocations: 39.98 kB / 0.5327 GB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.1039, allocations: 185.6 kB / 0.5329 GB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1041, allocations: 58.56 kB / 0.5329 GB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.1042, allocations: 24.97 kB / 0.533 GB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1042, allocations: 0 / 0.533 GB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1042, allocations: 42.5 kB / 0.533 GB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1042, allocations: 4 kB / 0.533 GB, free: 12.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002492/0.1045, allocations: 97.62 kB / 0.5331 GB, free: 12.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1045, allocations: 51.41 kB / 0.5331 GB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.1046, allocations: 113.8 kB / 0.5332 GB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1046, allocations: 25.7 kB / 0.5333 GB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1047, allocations: 92.08 kB / 0.5334 GB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1047, allocations: 23.78 kB / 0.5334 GB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1047, allocations: 17.72 kB / 0.5334 GB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1049, allocations: 318.8 kB / 0.5337 GB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.1049, allocations: 19.98 kB / 0.5337 GB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.105, allocations: 16 kB / 0.5337 GB, free: 11.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1051, allocations: 48.86 kB / 0.5338 GB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1051, allocations: 0 / 0.5338 GB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001453/0.1052, allocations: 81.58 kB / 0.5339 GB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1053, allocations: 7.938 kB / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1053, allocations: 4 kB / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1053, allocations: 3.984 kB / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1054, allocations: 8 kB / 0.5339 GB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1054, allocations: 4 kB / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.1054, allocations: 4 kB / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1055, allocations: 0 / 0.5339 GB, free: 11.52 MB / 350.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 (6): * Single equations (assignments): 6 * 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 9.111e-05/0.1055, allocations: 109.8 kB / 0.534 GB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1056, allocations: 15.89 kB / 0.534 GB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.1058, allocations: 110 kB / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1058, allocations: 0 / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1058, allocations: 0.6875 kB / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1058, allocations: 4 kB / 0.5341 GB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.106, allocations: 185.6 kB / 0.5343 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.106, allocations: 0 / 0.5343 GB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.1061, allocations: 15.98 kB / 0.5343 GB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-06/0.1061, allocations: 11.88 kB / 0.5343 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1061, allocations: 0 / 0.5343 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1061, allocations: 0 / 0.5343 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1061, allocations: 0 / 0.5343 GB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1063, allocations: 117 kB / 0.5344 GB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1063, allocations: 88.98 kB / 0.5345 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1063, allocations: 0 / 0.5345 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.1064, allocations: 4 kB / 0.5345 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1064, allocations: 11.92 kB / 0.5345 GB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1064, allocations: 4 kB / 0.5345 GB, free: 10.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.1065, allocations: 79.28 kB / 0.5346 GB, free: 10.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1065, allocations: 0 / 0.5346 GB, free: 10.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1067, allocations: 19.98 kB / 0.5346 GB, free: 10.65 MB / 350.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 (8): * Single equations (assignments): 8 * 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.000125/0.1068, allocations: 107.2 kB / 0.5347 GB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.107, allocations: 51.91 kB / 0.5348 GB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.107, allocations: 0 / 0.5348 GB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.437e-05/0.107, allocations: 31.98 kB / 0.5348 GB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1072, allocations: 8 kB / 0.5348 GB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.1076, allocations: 190 kB / 0.535 GB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1079, allocations: 0.6844 MB / 0.5357 GB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.108, allocations: 11.44 kB / 0.5357 GB, free: 9.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.108, allocations: 0 / 0.5357 GB, free: 9.508 MB / 350.1 MB Notification: Performance of Templates: time 0.002554/0.1105, allocations: 0.9374 MB / 0.5366 GB, free: 8.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.881586790084839] Failed to read output from testmodel.py, exit status != 0: 0.2761785490438342 0.132257027 0.027018781000000002 Calling exit ...