Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8165/0.8165, allocations: 129.2 MB / 432.5 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.88 kB / 0.5987 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4284, allocations: 83.44 MB / 0.6802 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2226/0.651, allocations: 188 MB / 0.8638 GB, free: 1.352 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4216/1.073, allocations: 13.12 MB / 0.8766 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/1.074, allocations: 34.81 kB / 0.8766 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/1.075, allocations: 440.9 kB / 0.877 GB, free: 1.809 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/1.078, allocations: 1.2 MB / 0.8782 GB, free: 1.766 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/1.08, allocations: 0.708 MB / 0.8789 GB, free: 1.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002901/1.083, allocations: 2.014 MB / 0.8809 GB, free: 1.746 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/1.084, allocations: 0.6942 MB / 0.8815 GB, free: 1.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/1.089, allocations: 2.014 MB / 0.8835 GB, free: 1.637 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.091, allocations: 0.6971 MB / 0.8842 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/1.092, allocations: 81.62 kB / 0.8843 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/1.094, allocations: 0.909 MB / 0.8852 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/1.094, allocations: 393.6 kB / 0.8855 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00066/1.095, allocations: 0.4987 MB / 0.886 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/1.097, allocations: 1.505 MB / 0.8875 GB, free: 1.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.097, allocations: 0 / 0.8875 GB, free: 1.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/1.097, allocations: 0.7812 kB / 0.8875 GB, free: 1.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.097, allocations: 0 / 0.8875 GB, free: 1.531 MB / 0.67 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.002031/1.099, allocations: 1.265 MB / 0.8887 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.099, allocations: 11.75 kB / 0.8887 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/1.099, allocations: 124.5 kB / 0.8888 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.101, allocations: 222.6 kB / 0.8891 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/1.102, allocations: 0.6871 MB / 0.8897 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/1.102, allocations: 58.62 kB / 0.8898 GB, free: 16.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.102, allocations: 77.78 kB / 0.8899 GB, free: 16.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.103, allocations: 0.9325 MB / 0.8908 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.103, allocations: 5.781 kB / 0.8908 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/1.104, allocations: 33.03 kB / 0.8908 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.073e-05/1.104, allocations: 31.34 kB / 0.8908 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/1.105, allocations: 0.6219 MB / 0.8914 GB, free: 16.14 MB / 0.6856 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.005754/1.11, allocations: 4.654 MB / 0.896 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/1.111, allocations: 0.5375 MB / 0.8965 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/1.112, allocations: 236.7 kB / 0.8967 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/1.112, allocations: 100.5 kB / 0.8968 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.399e-05/1.112, allocations: 54.05 kB / 0.8969 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.336e-06/1.112, allocations: 0.8125 kB / 0.8969 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003221/1.115, allocations: 1.607 MB / 0.8985 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/1.116, allocations: 109.2 kB / 0.8986 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.117, allocations: 0.716 MB / 0.8993 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/1.117, allocations: 38.98 kB / 0.8993 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/1.117, allocations: 426.2 kB / 0.8997 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/1.117, allocations: 167.7 kB / 0.8999 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.117, allocations: 120.3 kB / 0.9 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.117, allocations: 339.3 kB / 0.9003 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/1.118, allocations: 179.8 kB / 0.9005 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/1.118, allocations: 416.5 kB / 0.9009 GB, free: 10.76 MB / 0.6856 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.002029/1.12, allocations: 1.177 MB / 0.902 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.12, allocations: 3.094 kB / 0.902 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008858/1.121, allocations: 0.6742 MB / 0.9027 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.121, allocations: 8.688 kB / 0.9027 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.121, allocations: 9.859 kB / 0.9027 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.121, allocations: 10.78 kB / 0.9027 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/1.122, allocations: 131 kB / 0.9028 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.122, allocations: 11.27 kB / 0.9028 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/1.122, allocations: 32.44 kB / 0.9029 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/1.122, allocations: 32.34 kB / 0.9029 GB, free: 10.34 MB / 0.6856 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.0003761/1.123, allocations: 273.5 kB / 0.9032 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.123, allocations: 87.61 kB / 0.9033 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/1.123, allocations: 93.7 kB / 0.9033 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.123, allocations: 4.719 kB / 0.9033 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.123, allocations: 7.234 kB / 0.9034 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006986/1.124, allocations: 0.703 MB / 0.904 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.126, allocations: 1.644 MB / 0.9056 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/1.126, allocations: 3.094 kB / 0.9056 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/1.126, allocations: 100.1 kB / 0.9057 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.126, allocations: 5.156 kB / 0.9057 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.126, allocations: 18.81 kB / 0.9058 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.126, allocations: 6.281 kB / 0.9058 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.126, allocations: 8.25 kB / 0.9058 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/1.127, allocations: 0.8698 MB / 0.9066 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/1.128, allocations: 205.6 kB / 0.9068 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.512e-05/1.128, allocations: 18.66 kB / 0.9068 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004033/1.128, allocations: 14.59 kB / 0.9069 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/1.128, allocations: 41.17 kB / 0.9069 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/1.128, allocations: 24.38 kB / 0.9069 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004956/1.129, allocations: 0.512 MB / 0.9074 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/1.129, allocations: 0 / 0.9074 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006888/1.129, allocations: 200.9 kB / 0.9076 GB, free: 8.559 MB / 0.6856 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.001553/1.131, allocations: 1.512 MB / 0.9091 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006508/1.132, allocations: 468.7 kB / 0.9095 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.132, allocations: 3.438 kB / 0.9095 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/1.132, allocations: 202.8 kB / 0.9097 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.134, allocations: 474.1 kB / 0.9102 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00744/1.141, allocations: 6.646 MB / 0.9167 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/1.142, allocations: 1.033 MB / 0.9177 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006315/1.142, allocations: 204.1 kB / 0.9179 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.143, allocations: 297.5 kB / 0.9182 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/1.143, allocations: 0 / 0.9182 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/1.193, allocations: 22.33 MB / 0.94 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.184/10.38, allocations: 7.5 kB / 0.94 GB, free: 13.51 MB / 0.7012 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.665124942082912] Failed to read output from testmodel.py, exit status != 0: 10.460301253013313 10.48073054 9.379298945 Calling exit ...