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.001532/0.001532, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001983/0.001983, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.105/1.105, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.8059/0.8059, allocations: 154.6 MB / 414.9 MB, free: 0.6562 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.753e-06/1.753e-06, allocations: 0 / 0.5204 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.746e-05, allocations: 2.859 kB / 0.5204 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4971/0.4972, allocations: 184.1 MB / 0.7002 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.5093, allocations: 13.4 MB / 0.7133 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.5105, allocations: 39.22 kB / 0.7133 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.5117, allocations: 414.7 kB / 0.7137 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/0.514, allocations: 0.9853 MB / 0.7147 GB, free: 47.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.516, allocations: 0.7842 MB / 0.7154 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.5181, allocations: 1.527 MB / 0.7169 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.519, allocations: 0.5079 MB / 0.7174 GB, free: 46.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.5228, allocations: 2.045 MB / 0.7194 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.5239, allocations: 483.9 kB / 0.7199 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5241, allocations: 56.69 kB / 0.7199 GB, free: 46.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.5254, allocations: 0.7263 MB / 0.7206 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.5256, allocations: 303.9 kB / 0.7209 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.526, allocations: 264.8 kB / 0.7212 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.5275, allocations: 0.9322 MB / 0.7221 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.5275, allocations: 0.9375 kB / 0.7221 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5275, allocations: 0 / 0.7221 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.5275, allocations: 0 / 0.7221 GB, free: 46.39 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.001306/0.5288, allocations: 1.111 MB / 0.7232 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.5289, allocations: 9.656 kB / 0.7232 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.5296, allocations: 236.8 kB / 0.7234 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.5304, allocations: 0.5077 MB / 0.7239 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.5305, allocations: 46.56 kB / 0.7239 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.5306, allocations: 57.53 kB / 0.724 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.5313, allocations: 0.7124 MB / 0.7247 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5313, allocations: 5.406 kB / 0.7247 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.5314, allocations: 27.41 kB / 0.7247 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.5314, allocations: 29.22 kB / 0.7248 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.5319, allocations: 234.4 kB / 0.725 GB, free: 44.92 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.002282/0.5341, allocations: 5.331 MB / 0.7302 GB, free: 40.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.5342, allocations: 112 kB / 0.7303 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.5343, allocations: 60.28 kB / 0.7303 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.5344, allocations: 17.42 kB / 0.7304 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5344, allocations: 40.27 kB / 0.7304 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.5344, allocations: 1 kB / 0.7304 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003585/0.5348, allocations: 152.2 kB / 0.7306 GB, free: 40.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.5348, allocations: 132.9 kB / 0.7307 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.5353, allocations: 0.5826 MB / 0.7312 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5353, allocations: 29.64 kB / 0.7313 GB, free: 39.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5355, allocations: 486.6 kB / 0.7317 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.5356, allocations: 49.2 kB / 0.7318 GB, free: 39.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.5357, allocations: 96.27 kB / 0.7319 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.5357, allocations: 0.5388 MB / 0.7324 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.5358, allocations: 34.09 kB / 0.7324 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.536, allocations: 0.5302 MB / 0.733 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.5363, allocations: 436 kB / 0.7334 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5363, allocations: 6.438 kB / 0.7334 GB, free: 37.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004507/0.5368, allocations: 359.5 kB / 0.7337 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5368, allocations: 8.281 kB / 0.7337 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5368, allocations: 9.469 kB / 0.7337 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.5368, allocations: 10.91 kB / 0.7337 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.537, allocations: 92.25 kB / 0.7338 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.537, allocations: 14.09 kB / 0.7338 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5373, allocations: 66.33 kB / 0.7339 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5373, allocations: 23.66 kB / 0.7339 GB, free: 37.71 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.0001218/0.5374, allocations: 195.5 kB / 0.7341 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/0.5375, allocations: 58.92 kB / 0.7342 GB, free: 37.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.5376, allocations: 52.33 kB / 0.7342 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5376, allocations: 2.188 kB / 0.7342 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5376, allocations: 2.125 kB / 0.7342 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5376, allocations: 1.094 kB / 0.7342 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007939/0.5384, allocations: 1.182 MB / 0.7354 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5384, allocations: 2.5 kB / 0.7354 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.5385, allocations: 18.98 kB / 0.7354 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.5385, allocations: 3.656 kB / 0.7354 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5385, allocations: 10.59 kB / 0.7354 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5385, allocations: 6.938 kB / 0.7354 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5385, allocations: 2 kB / 0.7354 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5387, allocations: 238.5 kB / 0.7357 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.5387, allocations: 71.17 kB / 0.7357 GB, free: 36.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.5388, allocations: 10.66 kB / 0.7357 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5389, allocations: 15.25 kB / 0.7357 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.5389, allocations: 8.984 kB / 0.7358 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5389, allocations: 9.094 kB / 0.7358 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000293/0.5392, allocations: 358.8 kB / 0.7361 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5392, allocations: 0 / 0.7361 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005204/0.5397, allocations: 183.1 kB / 0.7363 GB, free: 36.2 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.0003789/0.5401, allocations: 190.1 kB / 0.7365 GB, free: 36.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.5404, allocations: 160.2 kB / 0.7366 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5404, allocations: 0 / 0.7366 GB, free: 36.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.5404, allocations: 42.17 kB / 0.7367 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.541, allocations: 205.7 kB / 0.7369 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.5425, allocations: 1.005 MB / 0.7378 GB, free: 35.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.5426, allocations: 165.4 kB / 0.738 GB, free: 35.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002729/0.5429, allocations: 107.6 kB / 0.7381 GB, free: 35.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.5429, allocations: 35.59 kB / 0.7381 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of SimCode: time 1.943e-06/0.5429, allocations: 1.125 kB / 0.7381 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.013/0.5559, allocations: 7.696 MB / 0.7456 GB, free: 34.68 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.5665000840090215]