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.001072/0.001072, 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/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.001214/0.001214, allocations: 169 kB / 23.02 MB, free: 1.551 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.9735/0.9735, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7968/0.7968, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.813e-06/1.813e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.446e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1394/0.1395, allocations: 149.5 MB / 0.6663 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00452/0.144, allocations: 3.197 MB / 0.6694 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.1444, allocations: 39.69 kB / 0.6695 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.1452, allocations: 230.3 kB / 0.6697 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.1462, allocations: 0.7419 MB / 0.6704 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1473, allocations: 0.7325 MB / 0.6711 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.1486, allocations: 1.496 MB / 0.6726 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006302/0.1492, allocations: 0.5109 MB / 0.6731 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.15, allocations: 0.7286 MB / 0.6738 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009222/0.1509, allocations: 479.6 kB / 0.6743 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.151, allocations: 60 kB / 0.6743 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007698/0.1518, allocations: 0.5923 MB / 0.6749 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.152, allocations: 303.1 kB / 0.6752 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.1522, allocations: 263.3 kB / 0.6754 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009719/0.1532, allocations: 0.8837 MB / 0.6763 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1532, allocations: 0 / 0.6763 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1532, allocations: 0 / 0.6763 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.1532, allocations: 0 / 0.6763 GB, free: 2.133 MB / 0.6355 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.001073/0.1542, allocations: 1.102 MB / 0.6774 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1543, allocations: 12.02 kB / 0.6774 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005807/0.1549, allocations: 236.2 kB / 0.6776 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/0.1555, allocations: 0.5157 MB / 0.6781 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1555, allocations: 49.19 kB / 0.6782 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.1555, allocations: 60 kB / 0.6782 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3183/0.4738, allocations: 0.7096 MB / 0.6789 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.4738, allocations: 4.406 kB / 0.6789 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.4739, allocations: 28.47 kB / 0.6789 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.4739, allocations: 24.83 kB / 0.679 GB, free: 60.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.4743, allocations: 223.5 kB / 0.6792 GB, free: 60.95 MB / 0.6355 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.002372/0.4766, allocations: 5.337 MB / 0.6844 GB, free: 56.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.4767, allocations: 110.7 kB / 0.6845 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4768, allocations: 59.69 kB / 0.6846 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.4769, allocations: 22.7 kB / 0.6846 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4769, allocations: 40.94 kB / 0.6846 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.716e-06/0.4769, allocations: 1.781 kB / 0.6846 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004182/0.4773, allocations: 152.9 kB / 0.6848 GB, free: 56.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4773, allocations: 134.8 kB / 0.6849 GB, free: 56.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.4778, allocations: 0.5766 MB / 0.6855 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4778, allocations: 32.34 kB / 0.6855 GB, free: 55.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.4779, allocations: 485 kB / 0.686 GB, free: 55.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.478, allocations: 39.22 kB / 0.686 GB, free: 55.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.478, allocations: 95.48 kB / 0.6861 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.4781, allocations: 0.5346 MB / 0.6866 GB, free: 55.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.4782, allocations: 35.25 kB / 0.6866 GB, free: 55.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.4784, allocations: 0.5396 MB / 0.6872 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.4786, allocations: 432.7 kB / 0.6876 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4786, allocations: 2.938 kB / 0.6876 GB, free: 53.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001004/0.4796, allocations: 355.8 kB / 0.6879 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4796, allocations: 13.89 kB / 0.6879 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4796, allocations: 8.531 kB / 0.6879 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.4797, allocations: 8.531 kB / 0.6879 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.4799, allocations: 90.08 kB / 0.688 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4799, allocations: 17.7 kB / 0.6881 GB, free: 53.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4803, allocations: 73.62 kB / 0.6881 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.4803, allocations: 20.44 kB / 0.6881 GB, free: 53.91 MB / 0.6355 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 (46): * Single equations (assignments): 46 * 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.0001407/0.4804, allocations: 188 kB / 0.6883 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.4805, allocations: 67.75 kB / 0.6884 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.4806, allocations: 45.03 kB / 0.6884 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4806, allocations: 2.844 kB / 0.6884 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4806, allocations: 0.5312 kB / 0.6884 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4806, allocations: 4.328 kB / 0.6884 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.4814, allocations: 1.183 MB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4814, allocations: 7.562 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.4814, allocations: 20.27 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4814, allocations: 3.062 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4814, allocations: 7.438 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4814, allocations: 3.438 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4814, allocations: 5.891 kB / 0.6896 GB, free: 52.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.4816, allocations: 241.4 kB / 0.6899 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.4817, allocations: 72.95 kB / 0.6899 GB, free: 52.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4817, allocations: 6.5 kB / 0.6899 GB, free: 52.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4818, allocations: 8.75 kB / 0.6899 GB, free: 52.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.4819, allocations: 19.23 kB / 0.69 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4819, allocations: 12.62 kB / 0.69 GB, free: 52.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002432/0.4821, allocations: 354.3 kB / 0.6903 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4821, allocations: 0 / 0.6903 GB, free: 52.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000474/0.4826, allocations: 184.4 kB / 0.6905 GB, free: 52.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003632/0.4829, allocations: 165.8 kB / 0.6907 GB, free: 52.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.4832, allocations: 162.5 kB / 0.6908 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4832, allocations: 3.281 kB / 0.6908 GB, free: 52.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.4832, allocations: 39.73 kB / 0.6908 GB, free: 52.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005691/0.4838, allocations: 208.2 kB / 0.691 GB, free: 52.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4851, allocations: 0.9991 MB / 0.692 GB, free: 51.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.274e-05/0.4852, allocations: 165.8 kB / 0.6922 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.4854, allocations: 99.11 kB / 0.6923 GB, free: 51.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.4855, allocations: 39.62 kB / 0.6923 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.4855, allocations: 0 / 0.6923 GB, free: 51.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.01069/0.4962, allocations: 7.516 MB / 0.6997 GB, free: 51.22 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.517559697851539]