Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.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.0009762/0.0009762, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002367, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] 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.001082/0.001082, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002482, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 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 0.8889/0.8889, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06868/0.9576, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04614/0.04614, allocations: 11.72 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004211/0.05035, allocations: 3.096 MB / 259 MB, free: 0.6914 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating") translateModel(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 260.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.142e-05, allocations: 2.312 kB / 260.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating): time 0.001017/0.001029, allocations: 0.5865 MB / 260.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1488/0.1498, allocations: 57.49 MB / 318.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.1499, allocations: 0 / 318.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1499, allocations: 4 kB / 318.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.1499, allocations: 31.84 kB / 318.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1514, allocations: 0.8409 MB / 319.2 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.1515, allocations: 53.89 kB / 319.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.513e-05/0.1515, allocations: 11.98 kB / 319.3 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.1516, allocations: 63.88 kB / 319.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.1517, allocations: 27.97 kB / 319.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1517, allocations: 0 / 319.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.1532, allocations: 1.594 MB / 321 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1533, allocations: 83.7 kB / 321.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.1534, allocations: 39.75 kB / 321.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.1539, allocations: 0.6623 MB / 321.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1539, allocations: 0 / 321.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1539, allocations: 4 kB / 321.8 MB, free: 5.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1539, allocations: 0 / 321.8 MB, free: 5.742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001615/0.1555, allocations: 1.67 MB / 323.4 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.507e-05/0.1556, allocations: 8.031 kB / 323.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.1556, allocations: 27.97 kB / 323.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1557, allocations: 222.7 kB / 323.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1557, allocations: 0 / 323.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1557, allocations: 4 kB / 323.7 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1559, allocations: 172.4 kB / 323.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-06/0.1559, allocations: 0 / 323.9 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1559, allocations: 8 kB / 323.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1559, allocations: 0 / 323.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.824e-05/0.156, allocations: 93.64 kB / 324 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.657e-05/0.1561, allocations: 64.94 kB / 324 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.1564, allocations: 124.2 kB / 324.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.1565, allocations: 106.5 kB / 324.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-06/0.1565, allocations: 0 / 324.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.1565, allocations: 80.23 kB / 324.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 5.11e-07/0.1565, allocations: 0 / 324.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003355/0.1569, allocations: 375.9 kB / 324.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.157, allocations: 206.2 kB / 324.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1571, allocations: 379.3 kB / 325.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1572, allocations: 25.7 kB / 325.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.1572, allocations: 85.44 kB / 325.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1572, allocations: 27.8 kB / 325.4 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.1573, allocations: 73.38 kB / 325.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.1574, allocations: 318.8 kB / 325.8 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.1574, allocations: 93.64 kB / 325.9 MB, free: 1.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.1575, allocations: 97.64 kB / 326 MB, free: 1.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1577, allocations: 221.5 kB / 326.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1577, allocations: 0 / 326.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002128/0.1579, allocations: 242.1 kB / 326.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.158, allocations: 53.67 kB / 326.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-06/0.158, allocations: 0 / 326.5 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.158, allocations: 3.938 kB / 326.5 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.158, allocations: 4 kB / 326.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-06/0.158, allocations: 3.938 kB / 326.5 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.1581, allocations: 7.953 kB / 326.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.1581, allocations: 98.98 kB / 326.6 MB, free: 0.6328 MB / 298.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: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001287/0.1583, allocations: 178.4 kB / 326.8 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.1583, allocations: 31.97 kB / 326.8 MB, free: 420 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1583, allocations: 35.73 kB / 326.8 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1583, allocations: 3.938 kB / 326.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1583, allocations: 2.625 kB / 326.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1583, allocations: 0 / 326.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.419e-05/0.1584, allocations: 133.8 kB / 327 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.1584, allocations: 0 / 327 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1584, allocations: 4 kB / 327 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1585, allocations: 129.5 kB / 327.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1585, allocations: 5.781 kB / 327.1 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1586, allocations: 11.98 kB / 327.1 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1586, allocations: 3.938 kB / 327.1 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1586, allocations: 3.938 kB / 327.1 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.1588, allocations: 316.9 kB / 327.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.1589, allocations: 11.98 kB / 327.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.354e-05/0.1589, allocations: 4 kB / 327.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.1589, allocations: 3.984 kB / 327.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.947e-05/0.159, allocations: 103.9 kB / 327.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1591, allocations: 168.4 kB / 327.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1591, allocations: 4.031 kB / 327.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.1594, allocations: 211.5 kB / 327.9 MB, free: 15.23 MB / 314.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: 12 (nFailed,res[1],res[2],res[3],res[4],res[5],res[6],res[7],res[8],res[9],res[10],dev) * Number of discrete states: 12 (dev,res[10],res[9],res[8],res[7],res[6],res[5],res[4],res[3],res[2],res[1],nFailed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009064/0.1603, allocations: 0.5904 MB / 328.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1606, allocations: 322.1 kB / 328.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.1606, allocations: 4 kB / 328.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1607, allocations: 206 kB / 329 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.1608, allocations: 53.44 kB / 329.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.1613, allocations: 0.6048 MB / 329.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.1613, allocations: 91.3 kB / 329.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.03e-06/0.1613, allocations: 0 / 329.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.1617, allocations: 228.9 kB / 330 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1617, allocations: 0 / 330 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Templates: time 0.007391/0.1691, allocations: 6.486 MB / 336.5 MB, free: 6.672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.sim & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.HelmholtzDerivsAssociating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7257868703454733]