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.001387/0.001387, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.52/1.52, allocations: 177.2 MB / 200.1 MB, free: 9.039 MB / 190.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.001794/0.001794, allocations: 157.4 kB / 256.6 MB, free: 0.7656 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.03906/0.03906, allocations: 6.674 MB / 319.6 MB, free: 48.48 MB / 286.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.003552/0.003552, allocations: 87.84 kB / 446.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3598, allocations: 55.58 MB / 0.4902 GB, free: 25.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002023/0.3619, allocations: 1.191 MB / 0.4914 GB, free: 24.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 4.369e-05/0.3619, allocations: 19.91 kB / 0.4914 GB, free: 24.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.3619, allocations: 0 / 0.4914 GB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.3619, allocations: 4 kB / 0.4914 GB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.521e-05/0.362, allocations: 0 / 0.4914 GB, free: 24.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.996e-05/0.362, allocations: 0 / 0.4914 GB, free: 24.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.3621, allocations: 7.938 kB / 0.4914 GB, free: 24.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.3622, allocations: 4 kB / 0.4914 GB, free: 24.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.3622, allocations: 3.984 kB / 0.4914 GB, free: 24.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.3622, allocations: 4 kB / 0.4914 GB, free: 24.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3623, allocations: 3.938 kB / 0.4914 GB, free: 24.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.3623, allocations: 0 / 0.4914 GB, free: 24.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.3623, allocations: 0 / 0.4914 GB, free: 24.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.3623, allocations: 12 kB / 0.4914 GB, free: 24.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.576e-05/0.3624, allocations: 7.984 kB / 0.4914 GB, free: 24.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3624, allocations: 0 / 0.4914 GB, free: 24.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3624, allocations: 0 / 0.4914 GB, free: 24.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3624, allocations: 7.938 kB / 0.4915 GB, free: 24.71 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.0003251/0.3627, allocations: 246.1 kB / 0.4917 GB, free: 24.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3627, allocations: 8.031 kB / 0.4917 GB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.3628, allocations: 0.9375 kB / 0.4917 GB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.3628, allocations: 114.5 kB / 0.4918 GB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3628, allocations: 4.375 kB / 0.4918 GB, free: 24.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3629, allocations: 4.375 kB / 0.4918 GB, free: 24.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.363, allocations: 39.98 kB / 0.4919 GB, free: 24.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.363, allocations: 192 / 0.4919 GB, free: 24.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.363, allocations: 3.938 kB / 0.4919 GB, free: 24.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.363, allocations: 0 / 0.4919 GB, free: 24.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.324e-05/0.363, allocations: 11.94 kB / 0.4919 GB, free: 24.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.3634, allocations: 146.2 kB / 0.492 GB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.3635, allocations: 37.22 kB / 0.492 GB, free: 24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.3635, allocations: 17.64 kB / 0.4921 GB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3635, allocations: 0 / 0.4921 GB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3635, allocations: 34.62 kB / 0.4921 GB, free: 23.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3635, allocations: 0 / 0.4921 GB, free: 23.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.3637, allocations: 49.58 kB / 0.4921 GB, free: 23.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.3637, allocations: 77.11 kB / 0.4922 GB, free: 23.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.3638, allocations: 102.2 kB / 0.4923 GB, free: 23.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.3638, allocations: 33.67 kB / 0.4923 GB, free: 23.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.3638, allocations: 80.14 kB / 0.4924 GB, free: 23.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3638, allocations: 6.344 kB / 0.4924 GB, free: 23.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3638, allocations: 17.72 kB / 0.4924 GB, free: 23.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.3639, allocations: 310.8 kB / 0.4927 GB, free: 23.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.3639, allocations: 0 / 0.4927 GB, free: 23.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.248e-05/0.3639, allocations: 17.7 kB / 0.4928 GB, free: 23.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.364, allocations: 25.66 kB / 0.4928 GB, free: 23.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.364, allocations: 4.062 kB / 0.4928 GB, free: 23.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.585e-05/0.364, allocations: 41.64 kB / 0.4928 GB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.364, allocations: 4 kB / 0.4928 GB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.364, allocations: 4 kB / 0.4928 GB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3641, allocations: 7.922 kB / 0.4928 GB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3642, allocations: 23.98 kB / 0.4929 GB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.3653, allocations: 2.485 MB / 0.4953 GB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.3654, allocations: 0 / 0.4953 GB, free: 20.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3654, allocations: 3.938 kB / 0.4953 GB, free: 20.38 MB / 366.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 6.417e-05/0.3654, allocations: 115 kB / 0.4954 GB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.3654, allocations: 7.938 kB / 0.4954 GB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-06/0.3655, allocations: 7.156 kB / 0.4954 GB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3655, allocations: 0 / 0.4954 GB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3655, allocations: 7.938 kB / 0.4954 GB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3655, allocations: 0 / 0.4954 GB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3657, allocations: 133.3 kB / 0.4956 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3657, allocations: 4 kB / 0.4956 GB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3659, allocations: 27.98 kB / 0.4956 GB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3659, allocations: 0 / 0.4956 GB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3659, allocations: 0 / 0.4956 GB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.3669, allocations: 2.479 MB / 0.498 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3669, allocations: 0 / 0.498 GB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.928e-05/0.367, allocations: 73.91 kB / 0.4981 GB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.367, allocations: 4 kB / 0.4981 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.367, allocations: 7.984 kB / 0.4981 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.367, allocations: 0 / 0.4981 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.367, allocations: 0 / 0.4981 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.367, allocations: 4.188 kB / 0.4981 GB, free: 17.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.847e-05/0.367, allocations: 79.28 kB / 0.4982 GB, free: 17.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.367, allocations: 0 / 0.4982 GB, free: 17.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.3673, allocations: 7.938 kB / 0.4982 GB, free: 17.18 MB / 366.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 9.233e-05/0.3673, allocations: 95.25 kB / 0.4983 GB, free: 17.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.3679, allocations: 40.06 kB / 0.4983 GB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3679, allocations: 0 / 0.4983 GB, free: 17.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.3682, allocations: 39.89 kB / 0.4983 GB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.3684, allocations: 3.938 kB / 0.4983 GB, free: 16.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.3687, allocations: 118.5 kB / 0.4985 GB, free: 16.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.3687, allocations: 67.53 kB / 0.4985 GB, free: 16.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.566e-05/0.3688, allocations: 15.98 kB / 0.4985 GB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.3689, allocations: 20.47 kB / 0.4986 GB, free: 16.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3689, allocations: 8 kB / 0.4986 GB, free: 16.71 MB / 366.1 MB Notification: Performance of Templates: time 0.002787/0.3716, allocations: 0.8138 MB / 0.4994 GB, free: 15.9 MB / 366.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.081010419060476] Failed to read output from testmodel.py, exit status != 0: 0.3819425910478458 0.396114019 0.030542935 Calling exit ...