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.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.0006934/0.0006934, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008746/0.001568, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.041/1.041, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1743/1.215, allocations: 53.64 MB / 241.9 MB, free: 2.727 MB / 234.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.00094/0.00094, allocations: 148.5 kB / 242.7 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.00195, allocations: 486.5 kB / 243.2 MB, free: 1.414 MB / 234.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.02379/0.02379, allocations: 6.653 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004657/0.02845, allocations: 2.662 MB / 253.3 MB, free: 7.551 MB / 250.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.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 1.844e-06/1.844e-06, allocations: 0 / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.291e-05, allocations: 12.36 kB / 254.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001826/0.001849, allocations: 1.449 MB / 256 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.002747, allocations: 0.898 MB / 256.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.002776, allocations: 0 / 256.9 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.002949, allocations: 95.42 kB / 257 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.002977, allocations: 7.875 kB / 257 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.003378, allocations: 262.8 kB / 257.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.003534, allocations: 47.8 kB / 257.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.00358, allocations: 0 / 257.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.003691, allocations: 43.83 kB / 257.3 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.789e-05/0.003729, allocations: 4 kB / 257.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003741, allocations: 3.938 kB / 257.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.003952, allocations: 127.7 kB / 257.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-06/0.003962, allocations: 3.938 kB / 257.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.003978, allocations: 8 kB / 257.5 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004167, allocations: 131.6 kB / 257.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.004184, allocations: 0 / 257.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004185, allocations: 0 / 257.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.004204, allocations: 0 / 257.6 MB, free: 3.207 MB / 250.7 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.0008189/0.005023, allocations: 441.2 kB / 258 MB, free: 2.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.005054, allocations: 8.031 kB / 258 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.005082, allocations: 4.938 kB / 258.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.005169, allocations: 109.8 kB / 258.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.005179, allocations: 384 / 258.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.005189, allocations: 4.375 kB / 258.2 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.005267, allocations: 50.22 kB / 258.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005275, allocations: 192 / 258.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.005282, allocations: 384 / 258.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.005289, allocations: 7.938 kB / 258.2 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.468e-05/0.005324, allocations: 19.91 kB / 258.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.496e-05/0.005419, allocations: 72.98 kB / 258.3 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.005537, allocations: 46.62 kB / 258.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.005557, allocations: 8.859 kB / 258.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005572, allocations: 4 kB / 258.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.005594, allocations: 34.69 kB / 258.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.005594, allocations: 0 / 258.4 MB, free: 2.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001305/0.005725, allocations: 61.62 kB / 258.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.005757, allocations: 55.39 kB / 258.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.225e-05/0.005809, allocations: 106.7 kB / 258.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.005822, allocations: 33.7 kB / 258.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.135e-05/0.005843, allocations: 84.14 kB / 258.7 MB, free: 1.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.005874, allocations: 19.83 kB / 258.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.005905, allocations: 17.72 kB / 258.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.005982, allocations: 322.8 kB / 259.1 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.005996, allocations: 4 kB / 259.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.006008, allocations: 4 kB / 259.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.006048, allocations: 28.83 kB / 259.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.006051, allocations: 0 / 259.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.141e-05/0.006113, allocations: 57.62 kB / 259.2 MB, free: 1.461 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006125, allocations: 8 kB / 259.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.00613, allocations: 0 / 259.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.00614, allocations: 3.938 kB / 259.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.006223, allocations: 15.98 kB / 259.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006226, allocations: 0 / 259.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.006247, allocations: 3.938 kB / 259.2 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.006251, allocations: 0 / 259.2 MB, free: 1.43 MB / 250.7 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 5.14e-05/0.006303, allocations: 109.8 kB / 259.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.00631, allocations: 8 kB / 259.3 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.00641, allocations: 73.97 kB / 259.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006412, allocations: 8 kB / 259.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.006414, allocations: 0.6875 kB / 259.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006417, allocations: 0 / 259.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.954e-05/0.006486, allocations: 81.81 kB / 259.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006487, allocations: 0 / 259.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.006529, allocations: 20 kB / 259.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.006535, allocations: 3.953 kB / 259.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006537, allocations: 0 / 259.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006542, allocations: 4 kB / 259.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006543, allocations: 7.984 kB / 259.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006544, allocations: 0 / 259.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.747e-05/0.006611, allocations: 88.98 kB / 259.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.006621, allocations: 0 / 259.6 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.006638, allocations: 4 kB / 259.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.006652, allocations: 7.984 kB / 259.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006655, allocations: 0 / 259.6 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.809e-06/0.006665, allocations: 8.859 kB / 259.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006665, allocations: 0 / 259.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001032/0.006768, allocations: 19.98 kB / 259.7 MB, free: 0.9375 MB / 250.7 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 9.664e-05/0.006864, allocations: 92.39 kB / 259.7 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.00694, allocations: 36.78 kB / 259.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.006945, allocations: 4 kB / 259.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.006966, allocations: 20.86 kB / 259.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.835e-05/0.007034, allocations: 19.86 kB / 259.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.007606, allocations: 172.2 kB / 260 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.007639, allocations: 59.3 kB / 260 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.007662, allocations: 7.984 kB / 260.1 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.007708, allocations: 55.38 kB / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of SimCode: time 8.12e-07/0.007708, allocations: 0 / 260.1 MB, free: 428 kB / 250.7 MB Notification: Performance of Templates: time 0.00253/0.01024, allocations: 0.9107 MB / 261 MB, free: 15.51 MB / 266.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.627554656006396]