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.001062/0.001062, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001088/0.001088, 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7071/0.7071, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 75.83 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 76.17 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.559/0.7039, allocations: 187.1 MB / 0.8143 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.7169, allocations: 13.02 MB / 0.827 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.7185, allocations: 36.34 kB / 0.827 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.72, allocations: 409.7 kB / 0.8274 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.7223, allocations: 0.9204 MB / 0.8283 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.7241, allocations: 0.7215 MB / 0.829 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.7258, allocations: 1.503 MB / 0.8305 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.7265, allocations: 0.6456 MB / 0.8311 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.7301, allocations: 1.726 MB / 0.8328 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.7313, allocations: 0.5088 MB / 0.8333 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.7314, allocations: 52.72 kB / 0.8334 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.733, allocations: 0.8808 MB / 0.8342 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.7333, allocations: 280 kB / 0.8345 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.7336, allocations: 386.2 kB / 0.8349 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.735, allocations: 1.174 MB / 0.836 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.7351, allocations: 2.406 kB / 0.836 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7351, allocations: 0 / 0.836 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.7351, allocations: 0 / 0.836 GB, free: 1.855 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.001327/0.7364, allocations: 1.052 MB / 0.837 GB, free: 1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7365, allocations: 14.05 kB / 0.8371 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.7366, allocations: 98.67 kB / 0.8372 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.7375, allocations: 186.9 kB / 0.8373 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.7382, allocations: 0.5471 MB / 0.8379 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.7382, allocations: 46.59 kB / 0.8379 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.7383, allocations: 65.44 kB / 0.838 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.7393, allocations: 0.7728 MB / 0.8387 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.7394, allocations: 6.656 kB / 0.8387 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.7394, allocations: 34.78 kB / 0.8388 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.7395, allocations: 21.44 kB / 0.8388 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.7403, allocations: 467.8 kB / 0.8392 GB, free: 15.46 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.003595/0.7439, allocations: 4.376 MB / 0.8435 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.744, allocations: 104.9 kB / 0.8436 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.7441, allocations: 71 kB / 0.8437 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.7443, allocations: 97.59 kB / 0.8438 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.7443, allocations: 41.38 kB / 0.8438 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.7443, allocations: 0 / 0.8438 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006118/0.7449, allocations: 241.3 kB / 0.844 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.745, allocations: 135.2 kB / 0.8442 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.7461, allocations: 0.841 MB / 0.845 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.7461, allocations: 28.39 kB / 0.845 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.7467, allocations: 402.5 kB / 0.8454 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.7467, allocations: 40.73 kB / 0.8454 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.7469, allocations: 87.5 kB / 0.8455 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.747, allocations: 327 kB / 0.8458 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.7473, allocations: 113 kB / 0.8459 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.7477, allocations: 365.8 kB / 0.8463 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.7482, allocations: 447.8 kB / 0.8467 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7482, allocations: 0 / 0.8467 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008119/0.7491, allocations: 0.5037 MB / 0.8472 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7491, allocations: 8 kB / 0.8472 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7491, allocations: 6.844 kB / 0.8472 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7491, allocations: 11.44 kB / 0.8472 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.7494, allocations: 100.4 kB / 0.8473 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.7495, allocations: 17.8 kB / 0.8473 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.75, allocations: 112.9 kB / 0.8475 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.7501, allocations: 28.03 kB / 0.8475 GB, free: 8.27 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.0002329/0.7503, allocations: 227.9 kB / 0.8477 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7505, allocations: 72.38 kB / 0.8478 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.7506, allocations: 74.39 kB / 0.8478 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.7506, allocations: 0 / 0.8478 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7506, allocations: 2.281 kB / 0.8478 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7506, allocations: 0 / 0.8478 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.7518, allocations: 1.123 MB / 0.8489 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7518, allocations: 2.688 kB / 0.8489 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.7519, allocations: 23.23 kB / 0.849 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.7519, allocations: 4.938 kB / 0.849 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7519, allocations: 6.75 kB / 0.849 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7519, allocations: 6.469 kB / 0.849 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.752, allocations: 3.156 kB / 0.849 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.7523, allocations: 266.8 kB / 0.8492 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.7525, allocations: 175.5 kB / 0.8494 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.7526, allocations: 7 kB / 0.8494 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.7529, allocations: 13.8 kB / 0.8494 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.7529, allocations: 15.02 kB / 0.8494 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.7529, allocations: 7.906 kB / 0.8494 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007285/0.7536, allocations: 0.5848 MB / 0.85 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7536, allocations: 0 / 0.85 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000517/0.7542, allocations: 161.2 kB / 0.8502 GB, free: 6.23 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.001182/0.7554, allocations: 0.8956 MB / 0.851 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.7559, allocations: 243.3 kB / 0.8513 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7559, allocations: 0 / 0.8513 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.756, allocations: 41.64 kB / 0.8513 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.7574, allocations: 388.2 kB / 0.8517 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006928/0.7643, allocations: 5.447 MB / 0.857 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.7648, allocations: 0.9409 MB / 0.8579 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.7652, allocations: 142.1 kB / 0.8581 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.7655, allocations: 231.4 kB / 0.8583 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.7655, allocations: 0 / 0.8583 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.8077, allocations: 18.25 MB / 0.8761 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.287, allocations: 5.734 kB / 0.8761 GB, free: 12.19 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)