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: translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009301/0.0009302, allocations: 98.11 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 180.4 kB / 16.92 MB, free: 6.898 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6781/0.6781, allocations: 115.4 MB / 407.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 15.98 kB / 495.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1835, allocations: 77.51 MB / 0.5598 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5601/0.7436, allocations: 182.6 MB / 0.7381 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.7584, allocations: 12.95 MB / 0.7507 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.7598, allocations: 27.81 kB / 0.7508 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.7611, allocations: 346 kB / 0.7511 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.7644, allocations: 1.097 MB / 0.7522 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.7663, allocations: 0.6334 MB / 0.7528 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.7694, allocations: 2.768 MB / 0.7555 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.7705, allocations: 0.7062 MB / 0.7562 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.7748, allocations: 1.627 MB / 0.7578 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.7768, allocations: 0.6559 MB / 0.7584 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.7769, allocations: 36 kB / 0.7584 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.7789, allocations: 0.9702 MB / 0.7594 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.7792, allocations: 331 kB / 0.7597 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005814/0.7798, allocations: 471.3 kB / 0.7601 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.7816, allocations: 1.472 MB / 0.7616 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7817, allocations: 4 kB / 0.7616 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7817, allocations: 0 / 0.7616 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7817, allocations: 0 / 0.7616 GB, free: 8.414 MB / 0.5762 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.001637/0.7833, allocations: 1.056 MB / 0.7626 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7834, allocations: 8.031 kB / 0.7626 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.7846, allocations: 218.6 kB / 0.7628 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.7855, allocations: 0.6403 MB / 0.7635 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.7856, allocations: 65.88 kB / 0.7635 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.7857, allocations: 76 kB / 0.7636 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.7872, allocations: 0.9249 MB / 0.7645 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.7872, allocations: 7.938 kB / 0.7645 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/0.7873, allocations: 39.92 kB / 0.7645 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.7874, allocations: 33.23 kB / 0.7646 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.7884, allocations: 0.6178 MB / 0.7652 GB, free: 4.559 MB / 0.5762 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.004372/0.7928, allocations: 4.598 MB / 0.7697 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.7936, allocations: 0.5419 MB / 0.7702 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/0.7939, allocations: 250.6 kB / 0.7704 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.7941, allocations: 105.8 kB / 0.7705 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7942, allocations: 38.56 kB / 0.7706 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.7942, allocations: 0 / 0.7706 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002832/0.797, allocations: 1.595 MB / 0.7721 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.7971, allocations: 110.8 kB / 0.7722 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008518/0.798, allocations: 0.7116 MB / 0.7729 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.798, allocations: 37.7 kB / 0.773 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.7983, allocations: 423.9 kB / 0.7734 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.7985, allocations: 161.7 kB / 0.7735 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.7986, allocations: 57.69 kB / 0.7736 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7987, allocations: 330 kB / 0.7739 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.799, allocations: 189.2 kB / 0.7741 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.7995, allocations: 417 kB / 0.7745 GB, free: 10.46 MB / 0.5919 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.002322/0.8018, allocations: 1.18 MB / 0.7756 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.8018, allocations: 0 / 0.7756 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001041/0.8029, allocations: 0.6676 MB / 0.7763 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8029, allocations: 11.94 kB / 0.7763 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.8029, allocations: 4 kB / 0.7763 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8029, allocations: 12 kB / 0.7763 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.8034, allocations: 127.8 kB / 0.7764 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.8034, allocations: 15.94 kB / 0.7764 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.8041, allocations: 60.27 kB / 0.7765 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.8042, allocations: 28 kB / 0.7765 GB, free: 8.246 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0004046/0.8046, allocations: 277.5 kB / 0.7768 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.8048, allocations: 83 kB / 0.7769 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.805, allocations: 87.67 kB / 0.777 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.805, allocations: 11.98 kB / 0.777 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.805, allocations: 0 / 0.777 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007208/0.8057, allocations: 0.6921 MB / 0.7776 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.8081, allocations: 1.642 MB / 0.7792 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.8082, allocations: 0 / 0.7792 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.8086, allocations: 99.83 kB / 0.7793 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.8086, allocations: 11.88 kB / 0.7794 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.8087, allocations: 16 kB / 0.7794 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.8087, allocations: 8.5 kB / 0.7794 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8087, allocations: 11.92 kB / 0.7794 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.8098, allocations: 0.8655 MB / 0.7802 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.8101, allocations: 212 kB / 0.7804 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.8102, allocations: 19.98 kB / 0.7805 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005111/0.8108, allocations: 32.56 kB / 0.7805 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.8108, allocations: 43.83 kB / 0.7805 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.8109, allocations: 20 kB / 0.7805 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006352/0.8115, allocations: 0.5107 MB / 0.781 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8115, allocations: 0 / 0.781 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000755/0.8123, allocations: 200 kB / 0.7812 GB, free: 3.141 MB / 0.5919 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.0004861/0.8128, allocations: 197.6 kB / 0.7814 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008157/0.8136, allocations: 478.2 kB / 0.7819 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8136, allocations: 4 kB / 0.7819 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.8139, allocations: 200.4 kB / 0.7821 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.8165, allocations: 466.1 kB / 0.7825 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.8196, allocations: 2.032 MB / 0.7845 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8203, allocations: 1.028 MB / 0.7855 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007631/0.8211, allocations: 203 kB / 0.7857 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.8213, allocations: 59.44 kB / 0.7858 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.8213, allocations: 0 / 0.7858 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of Templates: time 0.02825/0.8495, allocations: 14.39 MB / 0.7998 GB, free: 264 kB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)