Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001136/0.001136, allocations: 107.3 kB / 16.4 MB, free: 6.508 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.001195/0.001195, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 62.48 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1619, allocations: 76.17 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5788/0.7407, allocations: 187.1 MB / 0.8143 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.7551, allocations: 13.04 MB / 0.827 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.7564, allocations: 32.12 kB / 0.8271 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.7579, allocations: 408.1 kB / 0.8274 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.7605, allocations: 0.9241 MB / 0.8283 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.7625, allocations: 0.7194 MB / 0.829 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.7648, allocations: 1.494 MB / 0.8305 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.7658, allocations: 0.6503 MB / 0.8311 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.7697, allocations: 1.729 MB / 0.8328 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.7711, allocations: 0.4994 MB / 0.8333 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.7713, allocations: 53.09 kB / 0.8334 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.7732, allocations: 0.8788 MB / 0.8342 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.7736, allocations: 287.4 kB / 0.8345 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.7743, allocations: 380.4 kB / 0.8349 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.7764, allocations: 1.169 MB / 0.836 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.7764, allocations: 4 kB / 0.836 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7764, allocations: 7.875 kB / 0.836 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.846e-05/0.7765, allocations: 0 / 0.836 GB, free: 1.84 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001936/0.7784, allocations: 1.04 MB / 0.837 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7785, allocations: 18.33 kB / 0.837 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.7786, allocations: 100.4 kB / 0.8371 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.7797, allocations: 192 kB / 0.8373 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.7809, allocations: 0.5537 MB / 0.8379 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.781, allocations: 42.53 kB / 0.8379 GB, free: 360 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.323e-05/0.7811, allocations: 57.06 kB / 0.838 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.7823, allocations: 0.7815 MB / 0.8387 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.7824, allocations: 0 / 0.8387 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.7824, allocations: 31.75 kB / 0.8388 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.7825, allocations: 25.38 kB / 0.8388 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.7834, allocations: 465.6 kB / 0.8392 GB, free: 15.45 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.004039/0.7874, allocations: 4.378 MB / 0.8435 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.7876, allocations: 108.6 kB / 0.8436 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.7877, allocations: 74.25 kB / 0.8437 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00016/0.7878, allocations: 97.34 kB / 0.8438 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.7879, allocations: 32.78 kB / 0.8438 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.7879, allocations: 0 / 0.8438 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006691/0.7886, allocations: 250.1 kB / 0.844 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.7886, allocations: 131.3 kB / 0.8442 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.7897, allocations: 0.8425 MB / 0.845 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.7898, allocations: 28.39 kB / 0.845 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.79, allocations: 402.2 kB / 0.8454 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.7901, allocations: 43.14 kB / 0.8454 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.7902, allocations: 85.5 kB / 0.8455 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7904, allocations: 326.5 kB / 0.8458 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.7906, allocations: 113.3 kB / 0.8459 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.7911, allocations: 370.5 kB / 0.8463 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.7916, allocations: 441.8 kB / 0.8467 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.7916, allocations: 0 / 0.8467 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009078/0.7925, allocations: 0.5015 MB / 0.8472 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7926, allocations: 9.812 kB / 0.8472 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7926, allocations: 8.562 kB / 0.8472 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.7926, allocations: 9.938 kB / 0.8472 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.7929, allocations: 96.77 kB / 0.8473 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.7929, allocations: 22.58 kB / 0.8473 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/0.7936, allocations: 111.7 kB / 0.8475 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.7936, allocations: 27.66 kB / 0.8475 GB, free: 8.258 MB / 0.6075 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.0002423/0.7939, allocations: 232.4 kB / 0.8477 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.7941, allocations: 70.41 kB / 0.8478 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.7942, allocations: 73.7 kB / 0.8478 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.7942, allocations: 2.406 kB / 0.8478 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7942, allocations: 3.344 kB / 0.8478 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7942, allocations: 0 / 0.8478 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.7955, allocations: 1.119 MB / 0.8489 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7956, allocations: 1.875 kB / 0.8489 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.7956, allocations: 23.61 kB / 0.849 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7957, allocations: 2.812 kB / 0.849 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.7957, allocations: 10.69 kB / 0.849 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7957, allocations: 8.875 kB / 0.849 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7957, allocations: 2.75 kB / 0.849 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.796, allocations: 267.9 kB / 0.8492 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.7963, allocations: 175.7 kB / 0.8494 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.7964, allocations: 4.812 kB / 0.8494 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.7967, allocations: 17.8 kB / 0.8494 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.7967, allocations: 17.83 kB / 0.8494 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.7967, allocations: 4.719 kB / 0.8494 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008125/0.7975, allocations: 0.5889 MB / 0.85 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7976, allocations: 0 / 0.85 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005639/0.7981, allocations: 153 kB / 0.8502 GB, free: 6.215 MB / 0.6075 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.0009431/0.7991, allocations: 0.885 MB / 0.851 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.7996, allocations: 251.6 kB / 0.8513 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7996, allocations: 0 / 0.8513 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.7997, allocations: 43.7 kB / 0.8513 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8012, allocations: 387.3 kB / 0.8517 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.8087, allocations: 5.454 MB / 0.857 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.8092, allocations: 0.937 MB / 0.8579 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005101/0.8098, allocations: 150.1 kB / 0.8581 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.81, allocations: 227.4 kB / 0.8583 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.393e-06/0.8101, allocations: 0 / 0.8583 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.8517, allocations: 18.25 MB / 0.8761 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/9.468, allocations: 9.797 kB / 0.8761 GB, free: 12.21 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)