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.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.001295/0.001295, allocations: 117.6 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.401/1.401, allocations: 225.6 MB / 245.5 MB, free: 14.21 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.001486/0.001486, allocations: 197.5 kB / 300.5 MB, free: 9.828 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.04391/0.04391, allocations: 8.936 MB / 364.3 MB, free: 10.17 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.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: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.61 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.09014, allocations: 54.42 MB / 0.5289 GB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002242/0.09239, allocations: 1.18 MB / 0.5301 GB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 3.96e-05/0.09243, allocations: 7.984 kB / 0.5301 GB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.09245, allocations: 0 / 0.5301 GB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.09248, allocations: 7.938 kB / 0.5301 GB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.09251, allocations: 3.984 kB / 0.5301 GB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.167e-05/0.09256, allocations: 0 / 0.5301 GB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.09261, allocations: 11.94 kB / 0.5301 GB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.09266, allocations: 0 / 0.5301 GB, free: 15.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.713e-05/0.09268, allocations: 7.938 kB / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.09272, allocations: 3.984 kB / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.09273, allocations: 4 kB / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-06/0.09274, allocations: 0 / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.09275, allocations: 0 / 0.5301 GB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.09277, allocations: 7.938 kB / 0.5301 GB, free: 15.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.429e-05/0.09283, allocations: 7.938 kB / 0.5301 GB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.09283, allocations: 0 / 0.5301 GB, free: 15.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09283, allocations: 0 / 0.5301 GB, free: 15.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09284, allocations: 4 kB / 0.5301 GB, free: 15.6 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004314/0.09327, allocations: 319.5 kB / 0.5304 GB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.0933, allocations: 8.031 kB / 0.5305 GB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.09332, allocations: 4.938 kB / 0.5305 GB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.09346, allocations: 172.3 kB / 0.5306 GB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.09347, allocations: 384 / 0.5306 GB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.09348, allocations: 384 / 0.5306 GB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.09358, allocations: 51.92 kB / 0.5307 GB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.09359, allocations: 192 / 0.5307 GB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.0936, allocations: 7.938 kB / 0.5307 GB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.0936, allocations: 3.984 kB / 0.5307 GB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.721e-05/0.09362, allocations: 0 / 0.5307 GB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.09413, allocations: 194.6 kB / 0.5309 GB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.0942, allocations: 41.08 kB / 0.5309 GB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.09422, allocations: 13.84 kB / 0.5309 GB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.09424, allocations: 0 / 0.5309 GB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.09427, allocations: 34.56 kB / 0.531 GB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.09427, allocations: 7.938 kB / 0.531 GB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.0944, allocations: 45.58 kB / 0.531 GB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.09446, allocations: 85.03 kB / 0.5311 GB, free: 14.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.09457, allocations: 97.86 kB / 0.5312 GB, free: 14.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.09458, allocations: 25.7 kB / 0.5312 GB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.09462, allocations: 84.08 kB / 0.5313 GB, free: 14.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.09464, allocations: 8.328 kB / 0.5313 GB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.09468, allocations: 17.72 kB / 0.5313 GB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.09481, allocations: 310.8 kB / 0.5316 GB, free: 13.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.09483, allocations: 7.984 kB / 0.5316 GB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.09484, allocations: 9.719 kB / 0.5316 GB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.09488, allocations: 21.72 kB / 0.5316 GB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09488, allocations: 4.062 kB / 0.5317 GB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.77e-05/0.09495, allocations: 45.59 kB / 0.5317 GB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.09496, allocations: 8 kB / 0.5317 GB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.09496, allocations: 3.938 kB / 0.5317 GB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.09498, allocations: 3.984 kB / 0.5317 GB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.09517, allocations: 23.98 kB / 0.5317 GB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.09722, allocations: 2.715 MB / 0.5344 GB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.09725, allocations: 8.109 kB / 0.5344 GB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.09725, allocations: 4.031 kB / 0.5344 GB, free: 10.71 MB / 350.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 8.535e-05/0.09734, allocations: 113.8 kB / 0.5345 GB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.09735, allocations: 7.938 kB / 0.5345 GB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.09737, allocations: 7.109 kB / 0.5345 GB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.09737, allocations: 0 / 0.5345 GB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.09737, allocations: 0 / 0.5345 GB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.09737, allocations: 0 / 0.5345 GB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.09773, allocations: 189.7 kB / 0.5347 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.09773, allocations: 0 / 0.5347 GB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.09792, allocations: 23.98 kB / 0.5347 GB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.09793, allocations: 3.938 kB / 0.5347 GB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.09793, allocations: 0 / 0.5347 GB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.09987, allocations: 2.731 MB / 0.5374 GB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.09987, allocations: 4.156 kB / 0.5374 GB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.09996, allocations: 73.92 kB / 0.5375 GB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1, allocations: 81.05 kB / 0.5375 GB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-06/0.1, allocations: 7.938 kB / 0.5376 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.1, allocations: 0 / 0.5376 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1001, allocations: 8.016 kB / 0.5376 GB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1001, allocations: 4 kB / 0.5376 GB, free: 7.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.1001, allocations: 75.28 kB / 0.5376 GB, free: 7.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1001, allocations: 0 / 0.5376 GB, free: 7.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1003, allocations: 8 kB / 0.5376 GB, free: 7.004 MB / 350.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.0001434/0.1005, allocations: 91.25 kB / 0.5377 GB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.1007, allocations: 36.02 kB / 0.5378 GB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1007, allocations: 0 / 0.5378 GB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.1009, allocations: 23.98 kB / 0.5378 GB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.101, allocations: 7.938 kB / 0.5378 GB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.1014, allocations: 136.2 kB / 0.5379 GB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1017, allocations: 0.6729 MB / 0.5386 GB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.1017, allocations: 7.438 kB / 0.5386 GB, free: 5.961 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1017, allocations: 0 / 0.5386 GB, free: 5.961 MB / 350.1 MB Notification: Performance of Templates: time 0.002605/0.1043, allocations: 0.7609 MB / 0.5393 GB, free: 5.199 MB / 350.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: 6.843130958965048] Failed to read output from testmodel.py, exit status != 0: 0.2526523491833359 0.125751469 0.030018336000000003 Calling exit ...