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.0009749/0.0009749, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.066/1.066, allocations: 177.1 MB / 200.5 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] 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.001067/0.001067, allocations: 160.6 kB / 257 MB, free: 13.06 MB / 250.7 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.02707/0.02707, allocations: 6.655 MB / 320.1 MB, free: 11.7 MB / 298.7 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 391.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.827e-05, allocations: 2.312 kB / 391.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001655/0.001673, allocations: 1.226 MB / 392.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 4.23e-05/0.001715, allocations: 3.938 kB / 392.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001738, allocations: 0 / 392.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.001755, allocations: 4 kB / 392.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.001795, allocations: 3.938 kB / 392.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.774e-05/0.001843, allocations: 3.984 kB / 392.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.28e-05/0.001896, allocations: 11.94 kB / 392.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.001935, allocations: 0 / 392.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.001966, allocations: 11.98 kB / 392.9 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.002014, allocations: 7.984 kB / 392.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.00203, allocations: 0 / 392.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-06/0.002035, allocations: 0 / 392.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.002048, allocations: 0 / 392.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.002068, allocations: 8 kB / 392.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 5.208e-05/0.00212, allocations: 7.875 kB / 392.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.002122, allocations: 0 / 392.9 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002122, allocations: 4 kB / 392.9 MB, free: 2.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.002126, allocations: 0 / 392.9 MB, free: 2.773 MB / 362.7 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.0003001/0.002426, allocations: 352.7 kB / 393.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.00246, allocations: 8.031 kB / 393.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.002491, allocations: 0.9375 kB / 393.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.002569, allocations: 116.5 kB / 393.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.002577, allocations: 384 / 393.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.002584, allocations: 384 / 393.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.813e-05/0.002662, allocations: 49.62 kB / 393.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.002668, allocations: 192 / 393.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.002678, allocations: 8.375 kB / 393.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.002683, allocations: 384 / 393.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.002697, allocations: 15.88 kB / 393.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.002965, allocations: 152.3 kB / 393.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.003009, allocations: 54.22 kB / 393.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.003029, allocations: 19.44 kB / 393.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.003036, allocations: 0 / 393.7 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003054, allocations: 41.31 kB / 393.7 MB, free: 1.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003055, allocations: 4 kB / 393.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.003168, allocations: 45.64 kB / 393.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.0032, allocations: 77.11 kB / 393.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.003267, allocations: 161.9 kB / 394 MB, free: 1.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.003277, allocations: 29.69 kB / 394 MB, free: 1.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.003306, allocations: 126.9 kB / 394.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.003327, allocations: 7.953 kB / 394.2 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.00335, allocations: 15.38 kB / 394.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.00357, allocations: 0.4884 MB / 394.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.003578, allocations: 384 / 394.7 MB, free: 0.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.003592, allocations: 23.38 kB / 394.7 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.00362, allocations: 27.3 kB / 394.7 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.003622, allocations: 0 / 394.7 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.923e-05/0.003661, allocations: 41.7 kB / 394.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.003672, allocations: 4 kB / 394.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003676, allocations: 0 / 394.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.003686, allocations: 7.875 kB / 394.8 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.003777, allocations: 32.11 kB / 394.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.005245, allocations: 3.588 MB / 398.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.005257, allocations: 0 / 398.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005262, allocations: 0 / 398.4 MB, free: 12.81 MB / 378.7 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 5.955e-05/0.005321, allocations: 164.5 kB / 398.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-06/0.005326, allocations: 0 / 398.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-06/0.005333, allocations: 7.156 kB / 398.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.005334, allocations: 4 kB / 398.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-07/0.005335, allocations: 4 kB / 398.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.005337, allocations: 0 / 398.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.005484, allocations: 148.6 kB / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005485, allocations: 0 / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.921e-05/0.005555, allocations: 27.98 kB / 398.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005556, allocations: 0 / 398.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.005561, allocations: 0 / 398.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.006567, allocations: 3.588 MB / 402.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006568, allocations: 0 / 402.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.219e-05/0.00662, allocations: 88.33 kB / 402.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.006627, allocations: 7.938 kB / 402.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-06/0.006631, allocations: 4 kB / 402.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.006639, allocations: 0 / 402.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.006656, allocations: 3.938 kB / 402.4 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.006661, allocations: 8 kB / 402.4 MB, free: 8.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.006689, allocations: 119.2 kB / 402.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00669, allocations: 0 / 402.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.006824, allocations: 8 kB / 402.6 MB, free: 8.332 MB / 378.7 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 6.978e-05/0.006894, allocations: 99.36 kB / 402.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.007149, allocations: 40.73 kB / 402.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00715, allocations: 0 / 402.7 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.007258, allocations: 44.97 kB / 402.8 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.007365, allocations: 3.938 kB / 402.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.007755, allocations: 131.5 kB / 402.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.04e-05/0.007786, allocations: 59.34 kB / 402.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.007848, allocations: 16.06 kB / 403 MB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.007895, allocations: 28.39 kB / 403 MB, free: 7.844 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007896, allocations: 0 / 403 MB, free: 7.844 MB / 378.7 MB Notification: Performance of Templates: time 0.001999/0.009895, allocations: 0.8656 MB / 403.9 MB, free: 6.98 MB / 378.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0269272217992693]