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.0008145/0.0008145, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007868/0.0007868, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8811/0.8811, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:686: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-531:694: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.7138/0.7138, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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.212e-06/1.212e-06, allocations: 0 / 0.6194 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.382e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4083/0.4084, allocations: 165.3 MB / 0.7808 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01126/0.4196, allocations: 11.94 MB / 0.7925 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009892/0.4206, allocations: 43.16 kB / 0.7925 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4217, allocations: 422.4 kB / 0.7929 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.4236, allocations: 0.9783 MB / 0.7939 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4252, allocations: 0.7898 MB / 0.7946 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.4265, allocations: 1.515 MB / 0.7961 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.4271, allocations: 0.4919 MB / 0.7966 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.4301, allocations: 2.04 MB / 0.7986 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.4309, allocations: 472.1 kB / 0.7991 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.431, allocations: 55.12 kB / 0.7991 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.432, allocations: 0.7276 MB / 0.7998 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.4322, allocations: 299.7 kB / 0.8001 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.4324, allocations: 258.4 kB / 0.8003 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.4336, allocations: 1.181 MB / 0.8015 GB, free: 388 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4336, allocations: 0 / 0.8015 GB, free: 388 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4336, allocations: 0 / 0.8015 GB, free: 388 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4336, allocations: 0 / 0.8015 GB, free: 388 kB / 0.6511 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.001102/0.4347, allocations: 0.9954 MB / 0.8025 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4347, allocations: 10.5 kB / 0.8025 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.4353, allocations: 197.1 kB / 0.8027 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.4359, allocations: 495.6 kB / 0.8031 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.4359, allocations: 50.92 kB / 0.8032 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.436, allocations: 52.81 kB / 0.8032 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/0.4368, allocations: 0.7992 MB / 0.804 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4368, allocations: 3.938 kB / 0.804 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.4368, allocations: 34.17 kB / 0.8041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.4369, allocations: 23.89 kB / 0.8041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.4374, allocations: 457.8 kB / 0.8045 GB, free: 14.44 MB / 0.6667 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.002324/0.4397, allocations: 3.84 MB / 0.8083 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.4398, allocations: 112 kB / 0.8084 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.4399, allocations: 77.03 kB / 0.8084 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.44, allocations: 17.14 kB / 0.8085 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.44, allocations: 37.03 kB / 0.8085 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.44, allocations: 4 kB / 0.8085 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0003587/0.4404, allocations: 210.2 kB / 0.8087 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4404, allocations: 134.2 kB / 0.8088 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4409, allocations: 0.5838 MB / 0.8094 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.4409, allocations: 29.95 kB / 0.8094 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.4411, allocations: 435.9 kB / 0.8098 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.4412, allocations: 48.06 kB / 0.8099 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.659e-05/0.4413, allocations: 88.56 kB / 0.81 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4414, allocations: 360.1 kB / 0.8103 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.4415, allocations: 107 kB / 0.8104 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.4418, allocations: 0.5105 MB / 0.8109 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.4422, allocations: 438.6 kB / 0.8113 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4422, allocations: 5.469 kB / 0.8113 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005241/0.4427, allocations: 486.5 kB / 0.8118 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4427, allocations: 11.98 kB / 0.8118 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4428, allocations: 8 kB / 0.8118 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.4428, allocations: 10.69 kB / 0.8118 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4429, allocations: 96.36 kB / 0.8119 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.443, allocations: 15.09 kB / 0.8119 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.4432, allocations: 90.3 kB / 0.812 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4433, allocations: 25.66 kB / 0.8121 GB, free: 7.793 MB / 0.6667 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.0001784/0.4434, allocations: 229.1 kB / 0.8123 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.4435, allocations: 55.77 kB / 0.8123 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.4436, allocations: 61.58 kB / 0.8124 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4436, allocations: 480 / 0.8124 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4436, allocations: 2.875 kB / 0.8124 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4436, allocations: 0 / 0.8124 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.4444, allocations: 0.9891 MB / 0.8134 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4444, allocations: 6.031 kB / 0.8134 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.4444, allocations: 21.33 kB / 0.8134 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4444, allocations: 8.891 kB / 0.8134 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.4444, allocations: 2.719 kB / 0.8134 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4444, allocations: 6.844 kB / 0.8134 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4444, allocations: 2.875 kB / 0.8134 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.4446, allocations: 242.8 kB / 0.8136 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4447, allocations: 77.19 kB / 0.8137 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.4447, allocations: 2.25 kB / 0.8137 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4448, allocations: 22.8 kB / 0.8137 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.4448, allocations: 13.08 kB / 0.8137 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4448, allocations: 5.531 kB / 0.8137 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000329/0.4452, allocations: 408 kB / 0.8141 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.4452, allocations: 0 / 0.8141 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003459/0.4455, allocations: 184.7 kB / 0.8143 GB, free: 6.098 MB / 0.6667 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.0003452/0.4459, allocations: 185.4 kB / 0.8145 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.4462, allocations: 233.3 kB / 0.8147 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4462, allocations: 1.188 kB / 0.8147 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.4462, allocations: 48.77 kB / 0.8148 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.4467, allocations: 210.1 kB / 0.815 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4478, allocations: 1.059 MB / 0.816 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.448, allocations: 336.1 kB / 0.8163 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.4481, allocations: 47.83 kB / 0.8164 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of SimCode: time 5.01e-07/0.4481, allocations: 0 / 0.8164 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of Templates: time 0.007545/0.4556, allocations: 8.784 MB / 0.8249 GB, free: 180 kB / 0.6667 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.143367403186858] Failed to read output from testmodel.py, exit status != 0: 0.4614985315129161 0.46967363300000003 0.034505389000000004 Calling exit ...