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.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.001546/0.001546, allocations: 113.9 kB / 17.6 MB, free: 4.684 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.51/1.51, allocations: 225.6 MB / 246.2 MB, free: 13.59 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.002104/0.002104, allocations: 193.7 kB / 301.4 MB, free: 9.152 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.04004/0.04004, allocations: 8.922 MB / 365.5 MB, free: 9.285 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.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 0.002392/0.002392, allocations: 78.94 kB / 489.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1322, allocations: 54.43 MB / 0.531 GB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002472/0.1347, allocations: 1.262 MB / 0.5323 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 4.737e-05/0.1347, allocations: 8 kB / 0.5323 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.1347, allocations: 0 / 0.5323 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.1348, allocations: 3.938 kB / 0.5323 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.1349, allocations: 0 / 0.5323 GB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.011e-05/0.1349, allocations: 4 kB / 0.5323 GB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.135, allocations: 3.938 kB / 0.5323 GB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.135, allocations: 11.98 kB / 0.5323 GB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.1351, allocations: 7.922 kB / 0.5323 GB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.1351, allocations: 4 kB / 0.5323 GB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1351, allocations: 0 / 0.5323 GB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-06/0.1351, allocations: 0 / 0.5323 GB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.1351, allocations: 7.938 kB / 0.5323 GB, free: 13.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1352, allocations: 3.938 kB / 0.5323 GB, free: 13.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.079e-05/0.1352, allocations: 8 kB / 0.5323 GB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1352, allocations: 3.984 kB / 0.5323 GB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1352, allocations: 0 / 0.5323 GB, free: 13.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1352, allocations: 0 / 0.5323 GB, free: 13.39 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.0003685/0.1356, allocations: 319.5 kB / 0.5326 GB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1356, allocations: 8.031 kB / 0.5326 GB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.1357, allocations: 0.9375 kB / 0.5326 GB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.1358, allocations: 176.3 kB / 0.5328 GB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1359, allocations: 4.375 kB / 0.5328 GB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1359, allocations: 384 / 0.5328 GB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.1359, allocations: 47.91 kB / 0.5328 GB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.136, allocations: 4.125 kB / 0.5329 GB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.136, allocations: 3.938 kB / 0.5329 GB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.136, allocations: 0 / 0.5329 GB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.837e-05/0.136, allocations: 4 kB / 0.5329 GB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1364, allocations: 475.8 kB / 0.5333 GB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1365, allocations: 177.1 kB / 0.5335 GB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.1366, allocations: 84.14 kB / 0.5336 GB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.1366, allocations: 79.28 kB / 0.5336 GB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/0.1366, allocations: 105.8 kB / 0.5337 GB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1366, allocations: 0 / 0.5337 GB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.278e-05/0.1367, allocations: 33.64 kB / 0.5338 GB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.1368, allocations: 126.7 kB / 0.5339 GB, free: 11.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1369, allocations: 101.8 kB / 0.534 GB, free: 11.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1369, allocations: 25.7 kB / 0.534 GB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.137, allocations: 96.03 kB / 0.5341 GB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.137, allocations: 0 / 0.5341 GB, free: 11.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.137, allocations: 17.72 kB / 0.5341 GB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1372, allocations: 310.8 kB / 0.5344 GB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.1372, allocations: 3.984 kB / 0.5344 GB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.1372, allocations: 17.72 kB / 0.5344 GB, free: 10.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.1372, allocations: 21.72 kB / 0.5345 GB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1372, allocations: 3.938 kB / 0.5345 GB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.447e-05/0.1373, allocations: 37.7 kB / 0.5345 GB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1373, allocations: 4 kB / 0.5345 GB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1373, allocations: 0 / 0.5345 GB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1374, allocations: 4 kB / 0.5345 GB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.1374, allocations: 7.922 kB / 0.5345 GB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1374, allocations: 4 kB / 0.5345 GB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.1374, allocations: 3.953 kB / 0.5345 GB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1374, allocations: 8 kB / 0.5345 GB, free: 10.87 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): 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 0.0001196/0.1375, allocations: 196.9 kB / 0.5347 GB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.1376, allocations: 101 kB / 0.5348 GB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.1377, allocations: 112 kB / 0.5349 GB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001667/0.1379, allocations: 184.2 kB / 0.5351 GB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.172e-05/0.1379, allocations: 180.3 kB / 0.5353 GB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001659/0.1381, allocations: 184.1 kB / 0.5354 GB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1384, allocations: 409.2 kB / 0.5358 GB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/0.1384, allocations: 105.2 kB / 0.5359 GB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.1385, allocations: 105 kB / 0.536 GB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.1386, allocations: 180.3 kB / 0.5362 GB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.1387, allocations: 184.2 kB / 0.5364 GB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.57e-05/0.1388, allocations: 180.2 kB / 0.5366 GB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.753e-05/0.1389, allocations: 188.2 kB / 0.5367 GB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.1391, allocations: 300.6 kB / 0.537 GB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1393, allocations: 198 kB / 0.5372 GB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.1394, allocations: 176.3 kB / 0.5374 GB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.1394, allocations: 104.9 kB / 0.5375 GB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.1395, allocations: 176.3 kB / 0.5376 GB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.1396, allocations: 105 kB / 0.5377 GB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.1397, allocations: 91.2 kB / 0.5378 GB, free: 7.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1397, allocations: 0 / 0.5378 GB, free: 7.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1399, allocations: 4 kB / 0.5378 GB, free: 7.258 MB / 350.1 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 0.000132/0.14, allocations: 170.5 kB / 0.538 GB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.942e-05/0.1401, allocations: 352 / 0.538 GB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1401, allocations: 4 kB / 0.538 GB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1401, allocations: 0 / 0.538 GB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1406, allocations: 463.8 kB / 0.5384 GB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.1408, allocations: 160.2 kB / 0.5386 GB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1411, allocations: 0.6766 MB / 0.5393 GB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1412, allocations: 0 / 0.5393 GB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.1412, allocations: 11.44 kB / 0.5393 GB, free: 5.719 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1412, allocations: 0 / 0.5393 GB, free: 5.719 MB / 350.1 MB Notification: Performance of Templates: time 0.002464/0.1436, allocations: 213.4 kB / 0.5395 GB, free: 5.512 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.974155326373875]