Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001266/0.001266, allocations: 80.89 kB / 19.94 MB, free: 4.551 MB / 18.57 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.00114/0.00114, allocations: 181 kB / 23.36 MB, free: 1.137 MB / 18.57 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.9731/0.9731, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8127/0.8127, allocations: 154.6 MB / 414.8 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.253e-05, allocations: 6.812 kB / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.136/0.136, allocations: 148.8 MB / 0.6141 GB, free: 1.938 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005499/0.1415, allocations: 3.253 MB / 0.6173 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006876/0.1422, allocations: 47.62 kB / 0.6173 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.1429, allocations: 230.3 kB / 0.6175 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1442, allocations: 0.7341 MB / 0.6182 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.1455, allocations: 0.7399 MB / 0.619 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1471, allocations: 1.489 MB / 0.6204 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.1479, allocations: 0.5057 MB / 0.6209 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.1494, allocations: 0.8566 MB / 0.6218 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.15, allocations: 414.7 kB / 0.6221 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.1501, allocations: 52 kB / 0.6222 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.1509, allocations: 0.4988 MB / 0.6227 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1511, allocations: 311.1 kB / 0.623 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1513, allocations: 259.4 kB / 0.6232 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.1525, allocations: 0.8603 MB / 0.6241 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1525, allocations: 0 / 0.6241 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1525, allocations: 0 / 0.6241 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.1526, allocations: 0 / 0.6241 GB, free: 7.703 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001016/0.1536, allocations: 0.9425 MB / 0.625 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.1536, allocations: 12.03 kB / 0.625 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.1542, allocations: 212.5 kB / 0.6252 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.1547, allocations: 447.8 kB / 0.6256 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.1548, allocations: 57.44 kB / 0.6257 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.1548, allocations: 56 kB / 0.6257 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.1554, allocations: 0.6114 MB / 0.6263 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1554, allocations: 4 kB / 0.6263 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.1554, allocations: 24 kB / 0.6264 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.1555, allocations: 28.92 kB / 0.6264 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.1557, allocations: 215.3 kB / 0.6266 GB, free: 4.938 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.1578, allocations: 3.657 MB / 0.6302 GB, free: 1.113 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1579, allocations: 254.1 kB / 0.6304 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.1579, allocations: 55.83 kB / 0.6305 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.158, allocations: 16.08 kB / 0.6305 GB, free: 0.7422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.158, allocations: 38.56 kB / 0.6305 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.158, allocations: 0 / 0.6305 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002611/0.1583, allocations: 113.7 kB / 0.6306 GB, free: 0.5781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.1583, allocations: 132.5 kB / 0.6307 GB, free: 428 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.1588, allocations: 499 kB / 0.6312 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.1588, allocations: 29.7 kB / 0.6313 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1589, allocations: 384.7 kB / 0.6316 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.159, allocations: 39.77 kB / 0.6317 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.159, allocations: 81.95 kB / 0.6317 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.1591, allocations: 358.7 kB / 0.6321 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.1592, allocations: 43.52 kB / 0.6321 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1594, allocations: 397.3 kB / 0.6325 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.1597, allocations: 339.6 kB / 0.6328 GB, free: 14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1597, allocations: 0 / 0.6328 GB, free: 14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00041/0.1601, allocations: 292.8 kB / 0.6331 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.1601, allocations: 10.03 kB / 0.6331 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1601, allocations: 8 kB / 0.6331 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1602, allocations: 11.94 kB / 0.6331 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.1604, allocations: 91.83 kB / 0.6332 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1604, allocations: 12 kB / 0.6332 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.1608, allocations: 71.89 kB / 0.6333 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.1608, allocations: 16 kB / 0.6333 GB, free: 13.49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (45): * Single equations (assignments): 45 * 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.0001507/0.1609, allocations: 144.5 kB / 0.6335 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.161, allocations: 31.95 kB / 0.6335 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.1611, allocations: 52.06 kB / 0.6335 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1611, allocations: 7.938 kB / 0.6335 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1611, allocations: 480 / 0.6335 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1611, allocations: 0 / 0.6335 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1621, allocations: 0.843 MB / 0.6344 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1622, allocations: 4 kB / 0.6344 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.1622, allocations: 12 kB / 0.6344 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1622, allocations: 4 kB / 0.6344 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1622, allocations: 4 kB / 0.6344 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1622, allocations: 4 kB / 0.6344 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.1622, allocations: 12.2 kB / 0.6344 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.1624, allocations: 196.1 kB / 0.6346 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.1625, allocations: 55.61 kB / 0.6346 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.1625, allocations: 8 kB / 0.6346 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.1626, allocations: 4 kB / 0.6347 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1626, allocations: 19.92 kB / 0.6347 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1626, allocations: 4 kB / 0.6347 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001561/0.1628, allocations: 208.4 kB / 0.6349 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1628, allocations: 0 / 0.6349 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004208/0.1632, allocations: 183.5 kB / 0.635 GB, free: 11.58 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.0003175/0.1635, allocations: 156.6 kB / 0.6352 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1637, allocations: 142.3 kB / 0.6353 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/0.1637, allocations: 12.5 kB / 0.6353 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.1637, allocations: 32.72 kB / 0.6354 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1642, allocations: 214.7 kB / 0.6356 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1654, allocations: 0.9826 MB / 0.6365 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.1655, allocations: 161.2 kB / 0.6367 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.1657, allocations: 60.56 kB / 0.6368 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.166, allocations: 195.1 kB / 0.6369 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.166, allocations: 0 / 0.6369 GB, free: 9.578 MB / 0.6042 GB Notification: Performance of Templates: time 0.01068/0.1767, allocations: 8.114 MB / 0.6449 GB, free: 1.754 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.916959445923567]