Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.0009466/0.0009466, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.009/1.009, allocations: 177.1 MB / 200 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.001325/0.001325, allocations: 168.5 kB / 256.6 MB, free: 12.99 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.02241/0.02241, allocations: 6.658 MB / 319.8 MB, free: 26.52 MB / 266.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.846e-05, allocations: 2.312 kB / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.005195/0.005224, allocations: 1.313 MB / 392.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 6.748e-05/0.005291, allocations: 11.91 kB / 392.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.005322, allocations: 4 kB / 392.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.005363, allocations: 0 / 392.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.005431, allocations: 0 / 392.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.74e-05/0.005449, allocations: 11.94 kB / 393 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.005518, allocations: 3.938 kB / 393 MB, free: 1.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.005586, allocations: 4 kB / 393 MB, free: 1.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.005621, allocations: 7.984 kB / 393 MB, free: 1.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.005668, allocations: 3.938 kB / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.005689, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-06/0.005694, allocations: 0 / 393 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.005708, allocations: 4 kB / 393 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.005728, allocations: 4 kB / 393 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.285e-05/0.005791, allocations: 11.92 kB / 393 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005794, allocations: 0 / 393 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.005796, allocations: 4 kB / 393 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.005801, allocations: 0 / 393 MB, free: 1.199 MB / 314.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.0003071/0.006108, allocations: 344.7 kB / 393.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.006146, allocations: 8.031 kB / 393.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.006179, allocations: 4.938 kB / 393.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.00628, allocations: 108.6 kB / 393.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.006292, allocations: 8.312 kB / 393.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.006299, allocations: 4.375 kB / 393.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.897e-05/0.006378, allocations: 53.56 kB / 393.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.006385, allocations: 192 / 393.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006394, allocations: 384 / 393.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.006401, allocations: 384 / 393.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.103e-05/0.006412, allocations: 7.938 kB / 393.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.00673, allocations: 0.5948 MB / 394.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.006816, allocations: 265.4 kB / 394.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.006849, allocations: 126.9 kB / 394.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.006878, allocations: 123.2 kB / 394.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.006923, allocations: 156.6 kB / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.006924, allocations: 0 / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.111e-05/0.006985, allocations: 41.56 kB / 394.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.007039, allocations: 174.6 kB / 395 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.007127, allocations: 165.9 kB / 395.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.007137, allocations: 25.7 kB / 395.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.007195, allocations: 134.8 kB / 395.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.007198, allocations: 0 / 395.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.007231, allocations: 23.36 kB / 395.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.007352, allocations: 496.1 kB / 395.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.007361, allocations: 4 kB / 395.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.007379, allocations: 19.38 kB / 395.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.007415, allocations: 19.38 kB / 395.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007417, allocations: 0 / 395.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.007517, allocations: 45.62 kB / 395.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.007532, allocations: 7.938 kB / 395.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.007538, allocations: 4 kB / 395.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007551, allocations: 0 / 395.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/0.007598, allocations: 8.125 kB / 395.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007603, allocations: 0 / 395.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.007626, allocations: 3.938 kB / 395.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.007633, allocations: 3.984 kB / 395.9 MB, free: 14.03 MB / 330.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): 2 * 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.204e-05/0.007725, allocations: 275.8 kB / 396.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.007777, allocations: 144.9 kB / 396.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.007834, allocations: 164 kB / 396.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.935e-05/0.007904, allocations: 272 kB / 396.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.058e-05/0.007964, allocations: 264.1 kB / 397 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/0.008029, allocations: 272 kB / 397.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.008217, allocations: 0.4963 MB / 397.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/0.008252, allocations: 148.9 kB / 397.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.008285, allocations: 148.8 kB / 398.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.085e-05/0.008346, allocations: 268.1 kB / 398.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-05/0.008411, allocations: 272 kB / 398.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-05/0.008475, allocations: 272 kB / 398.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-05/0.008539, allocations: 272 kB / 399.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.008669, allocations: 440.2 kB / 399.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.008714, allocations: 156.8 kB / 399.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003037/0.009018, allocations: 272.1 kB / 400 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.00909, allocations: 152.8 kB / 400.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.009153, allocations: 268.1 kB / 400.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.009189, allocations: 152.9 kB / 400.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.868e-05/0.009227, allocations: 123.2 kB / 400.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009228, allocations: 0 / 400.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.009433, allocations: 0 / 400.7 MB, free: 9.086 MB / 330.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 (0): * Single equations (assignments): 0 * 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.119e-05/0.009524, allocations: 218.4 kB / 400.9 MB, free: 8.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.665e-05/0.009591, allocations: 11.69 kB / 400.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009593, allocations: 0 / 400.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.009596, allocations: 4 kB / 400.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.009942, allocations: 0.7101 MB / 401.6 MB, free: 8.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.01317, allocations: 225.5 kB / 401.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.0132, allocations: 55.36 kB / 401.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.01322, allocations: 0 / 401.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.01324, allocations: 8.5 kB / 401.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01324, allocations: 0 / 401.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of Templates: time 0.001656/0.0149, allocations: 229.1 kB / 402.1 MB, free: 7.574 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.112922737840563]