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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 101.2 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.72 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1477, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5575/0.7052, allocations: 187.3 MB / 0.8145 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.7182, allocations: 13.06 MB / 0.8272 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.7196, allocations: 34.75 kB / 0.8273 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.7208, allocations: 429.7 kB / 0.8277 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.7236, allocations: 1.158 MB / 0.8288 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7253, allocations: 0.7143 MB / 0.8295 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.7277, allocations: 2.012 MB / 0.8315 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7289, allocations: 0.8436 MB / 0.8323 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.7326, allocations: 1.827 MB / 0.8341 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.734, allocations: 0.6591 MB / 0.8347 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.7341, allocations: 80.56 kB / 0.8348 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.7357, allocations: 0.8738 MB / 0.8357 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.7361, allocations: 385.2 kB / 0.836 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.7366, allocations: 0.4955 MB / 0.8365 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.7383, allocations: 1.506 MB / 0.838 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7383, allocations: 0 / 0.838 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7383, allocations: 0 / 0.838 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.7384, allocations: 0 / 0.838 GB, free: 0.7266 MB / 0.5919 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.001646/0.74, allocations: 1.226 MB / 0.8392 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7401, allocations: 9.969 kB / 0.8392 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.7402, allocations: 126 kB / 0.8393 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.7413, allocations: 212.2 kB / 0.8395 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.7423, allocations: 0.6862 MB / 0.8402 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.7424, allocations: 56.53 kB / 0.8402 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.7425, allocations: 76.16 kB / 0.8403 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.7436, allocations: 0.9339 MB / 0.8412 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7436, allocations: 2.812 kB / 0.8412 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.7437, allocations: 39.47 kB / 0.8413 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.7438, allocations: 29 kB / 0.8413 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.7446, allocations: 0.6192 MB / 0.8419 GB, free: 13.98 MB / 0.6075 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.003824/0.7484, allocations: 4.579 MB / 0.8464 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.7492, allocations: 0.5466 MB / 0.8469 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.7495, allocations: 260.4 kB / 0.8471 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.7497, allocations: 102.5 kB / 0.8472 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.7497, allocations: 37.31 kB / 0.8473 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/0.7497, allocations: 0 / 0.8473 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002495/0.7522, allocations: 1.588 MB / 0.8488 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.7523, allocations: 107.7 kB / 0.8489 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.753, allocations: 0.7198 MB / 0.8496 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.7531, allocations: 35.8 kB / 0.8497 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.7534, allocations: 426 kB / 0.8501 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.7535, allocations: 156.5 kB / 0.8502 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.7537, allocations: 123 kB / 0.8503 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7538, allocations: 326.8 kB / 0.8507 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.7541, allocations: 192.6 kB / 0.8508 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.7546, allocations: 420.2 kB / 0.8512 GB, free: 6.156 MB / 0.6075 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.002159/0.7567, allocations: 1.177 MB / 0.8524 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7567, allocations: 0 / 0.8524 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009717/0.7577, allocations: 0.6676 MB / 0.853 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7578, allocations: 11.94 kB / 0.8531 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7578, allocations: 8 kB / 0.8531 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.7578, allocations: 8 kB / 0.8531 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.7583, allocations: 123.8 kB / 0.8532 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.7583, allocations: 15.94 kB / 0.8532 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.7588, allocations: 36.39 kB / 0.8532 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.7589, allocations: 28.88 kB / 0.8533 GB, free: 3.973 MB / 0.6075 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.0003376/0.7592, allocations: 275.8 kB / 0.8535 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.7594, allocations: 87 kB / 0.8536 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.7595, allocations: 91.66 kB / 0.8537 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7595, allocations: 4 kB / 0.8537 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.7596, allocations: 4 kB / 0.8537 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006883/0.7602, allocations: 0.6963 MB / 0.8544 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.7625, allocations: 1.646 MB / 0.856 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7625, allocations: 8.062 kB / 0.856 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.7629, allocations: 96.33 kB / 0.8561 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.763, allocations: 15.94 kB / 0.8561 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.763, allocations: 19.98 kB / 0.8561 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.763, allocations: 4 kB / 0.8561 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.763, allocations: 4 kB / 0.8561 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.7641, allocations: 0.8699 MB / 0.857 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.7644, allocations: 204.1 kB / 0.8572 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.7645, allocations: 15.94 kB / 0.8572 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.7649, allocations: 25.95 kB / 0.8572 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.765, allocations: 43.84 kB / 0.8573 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.765, allocations: 19.98 kB / 0.8573 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005549/0.7656, allocations: 0.5146 MB / 0.8578 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7656, allocations: 0 / 0.8578 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006539/0.7662, allocations: 200 kB / 0.858 GB, free: 14.88 MB / 0.6231 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.001576/0.7678, allocations: 1.497 MB / 0.8594 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007206/0.7685, allocations: 480.6 kB / 0.8599 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7685, allocations: 448 / 0.8599 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.7688, allocations: 211.7 kB / 0.8601 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.7707, allocations: 478.1 kB / 0.8605 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.7782, allocations: 6.612 MB / 0.867 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.7788, allocations: 1.032 MB / 0.868 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005816/0.7794, allocations: 199 kB / 0.8682 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.7798, allocations: 299.3 kB / 0.8685 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7798, allocations: 0 / 0.8685 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.8268, allocations: 22.6 MB / 0.8906 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/9.425, allocations: 11.61 kB / 0.8906 GB, free: 13.41 MB / 0.6544 GB (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 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)