Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001245/0.001245, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.001626/0.001626, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.91/0.91, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7739/0.7739, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 74.64 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5025, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1541/0.6566, allocations: 165.6 MB / 0.9796 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.6673, allocations: 12.04 MB / 0.9913 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009897/0.6683, allocations: 47.56 kB / 0.9914 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.6694, allocations: 429.2 kB / 0.9918 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.6718, allocations: 1.209 MB / 0.993 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.6735, allocations: 0.7364 MB / 0.9937 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.6756, allocations: 2.039 MB / 0.9957 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006815/0.6763, allocations: 0.6215 MB / 0.9963 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.6794, allocations: 2.001 MB / 0.9982 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.6805, allocations: 0.6695 MB / 0.9989 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.302e-05/0.6806, allocations: 80 kB / 0.999 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.6817, allocations: 0.7286 MB / 0.9997 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.682, allocations: 390.9 kB / 1 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.6823, allocations: 422.1 kB / 1 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.6841, allocations: 1.491 MB / 1.002 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6841, allocations: 4 kB / 1.002 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.235e-06/0.6841, allocations: 0 / 1.002 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.6841, allocations: 0 / 1.002 GB, free: 8.484 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001232/0.6853, allocations: 1.178 MB / 1.003 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6854, allocations: 12.03 kB / 1.003 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.6855, allocations: 126.5 kB / 1.003 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.6862, allocations: 219.1 kB / 1.003 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.6869, allocations: 0.6155 MB / 1.004 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.6869, allocations: 54 kB / 1.004 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.687, allocations: 76 kB / 1.004 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008996/0.6879, allocations: 1.062 MB / 1.005 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6879, allocations: 4 kB / 1.005 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.688, allocations: 35.94 kB / 1.005 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.688, allocations: 37.23 kB / 1.005 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.6887, allocations: 0.6099 MB / 1.006 GB, free: 4.281 MB / 0.7761 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.002754/0.6914, allocations: 3.734 MB / 1.009 GB, free: 416 kB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.692, allocations: 452.7 kB / 1.01 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.6922, allocations: 239.2 kB / 1.01 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.6923, allocations: 24.61 kB / 1.01 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.6924, allocations: 46.5 kB / 1.01 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=43): time 3.788e-06/0.6924, allocations: 0 / 1.01 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.002113/0.6945, allocations: 1.538 MB / 1.012 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.6945, allocations: 106.8 kB / 1.012 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.6951, allocations: 0.7271 MB / 1.013 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.6951, allocations: 37.7 kB / 1.013 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.6953, allocations: 420.8 kB / 1.013 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.6954, allocations: 170.5 kB / 1.013 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.6956, allocations: 118.3 kB / 1.013 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.6956, allocations: 334 kB / 1.014 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.6958, allocations: 189.1 kB / 1.014 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.6965, allocations: 0.5579 MB / 1.014 GB, free: 11.22 MB / 0.7917 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6979, allocations: 1.109 MB / 1.015 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6979, allocations: 3.938 kB / 1.015 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006878/0.6985, allocations: 0.6836 MB / 1.016 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6986, allocations: 8 kB / 1.016 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6986, allocations: 8 kB / 1.016 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6986, allocations: 8 kB / 1.016 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6989, allocations: 127.8 kB / 1.016 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.6989, allocations: 11.94 kB / 1.016 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.6992, allocations: 32.45 kB / 1.016 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.6992, allocations: 32 kB / 1.016 GB, free: 9.113 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0002885/0.6995, allocations: 274.9 kB / 1.017 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.6996, allocations: 87.42 kB / 1.017 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.6997, allocations: 91.66 kB / 1.017 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6997, allocations: 4 kB / 1.017 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6997, allocations: 4 kB / 1.017 GB, free: 8.648 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004826/0.7002, allocations: 0.6949 MB / 1.017 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.7018, allocations: 1.51 MB / 1.019 GB, free: 6.258 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7018, allocations: 4 kB / 1.019 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.7021, allocations: 107.8 kB / 1.019 GB, free: 6.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.7021, allocations: 4.5 kB / 1.019 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.7021, allocations: 19.98 kB / 1.019 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.7021, allocations: 11.94 kB / 1.019 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7021, allocations: 4 kB / 1.019 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007567/0.7029, allocations: 0.8766 MB / 1.02 GB, free: 5.164 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.7031, allocations: 135.4 kB / 1.02 GB, free: 5.031 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/0.7031, allocations: 19.98 kB / 1.02 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.7033, allocations: 12 kB / 1.02 GB, free: 5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.7034, allocations: 51.75 kB / 1.02 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.7034, allocations: 16 kB / 1.02 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0004276/0.7038, allocations: 0.5146 MB / 1.021 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.7038, allocations: 0 / 1.021 GB, free: 4.422 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005281/0.7044, allocations: 196 kB / 1.021 GB, free: 4.23 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (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 Backend phase and start with SimCode phase: time 0.001551/0.7059, allocations: 1.488 MB / 1.022 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.7065, allocations: 463.9 kB / 1.023 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7065, allocations: 5.562 kB / 1.023 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.7067, allocations: 200.6 kB / 1.023 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7079, allocations: 485.3 kB / 1.023 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006165/0.7141, allocations: 6.648 MB / 1.03 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.7144, allocations: 432.9 kB / 1.03 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005378/0.7149, allocations: 199 kB / 1.03 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.7152, allocations: 299.3 kB / 1.031 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of SimCode: time 1.212e-06/0.7152, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.7532, allocations: 24.6 MB / 1.055 GB, free: 1.496 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.844, allocations: 3.984 kB / 1.055 GB, free: 1.492 MB / 0.823 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.641964504960924] Failed to read output from testmodel.py, exit status != 0: 7.932624439243227 7.940580037 7.254652101 Calling exit ...