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.004124/0.004124, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001143/0.001143, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.269/1.269, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6687/0.6687, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 72.42 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4209/0.5672, allocations: 184.8 MB / 0.7364 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.5811, allocations: 13.07 MB / 0.7491 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008579/0.582, allocations: 23.88 kB / 0.7491 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.5832, allocations: 346 kB / 0.7495 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.5852, allocations: 0.8791 MB / 0.7503 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.5869, allocations: 0.6105 MB / 0.7509 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002492/0.5894, allocations: 2.104 MB / 0.753 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.5903, allocations: 0.5613 MB / 0.7535 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/0.5937, allocations: 1.58 MB / 0.7551 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.5952, allocations: 0.5306 MB / 0.7556 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.5953, allocations: 36 kB / 0.7556 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.5972, allocations: 0.9665 MB / 0.7566 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.5976, allocations: 267.2 kB / 0.7568 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.5983, allocations: 374 kB / 0.7572 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.5999, allocations: 1.188 MB / 0.7583 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5999, allocations: 0 / 0.7583 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5999, allocations: 0 / 0.7583 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.044e-05/0.6, allocations: 0 / 0.7583 GB, free: 7.43 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001709/0.6017, allocations: 1.052 MB / 0.7594 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.6018, allocations: 8.031 kB / 0.7594 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.6019, allocations: 102.5 kB / 0.7595 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6029, allocations: 186.9 kB / 0.7597 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.6037, allocations: 0.5285 MB / 0.7602 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.604, allocations: 97.19 kB / 0.7603 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.063e-05/0.6041, allocations: 60 kB / 0.7603 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.6053, allocations: 0.7636 MB / 0.7611 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6053, allocations: 4 kB / 0.7611 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.6054, allocations: 31.94 kB / 0.7611 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.6054, allocations: 25 kB / 0.7611 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.6063, allocations: 467.3 kB / 0.7616 GB, free: 3.922 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.003505/0.6098, allocations: 4.165 MB / 0.7656 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.61, allocations: 106.4 kB / 0.7657 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.6101, allocations: 75.5 kB / 0.7658 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.6102, allocations: 93.09 kB / 0.7659 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.6103, allocations: 38.56 kB / 0.7659 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 3.005e-06/0.6103, allocations: 0 / 0.7659 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006198/0.6109, allocations: 240.5 kB / 0.7662 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.611, allocations: 132.7 kB / 0.7663 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.612, allocations: 0.8369 MB / 0.7671 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.612, allocations: 29.7 kB / 0.7671 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.6123, allocations: 398.9 kB / 0.7675 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.6123, allocations: 43.53 kB / 0.7676 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.6125, allocations: 85.5 kB / 0.7676 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.6126, allocations: 325.9 kB / 0.7679 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.6128, allocations: 111.9 kB / 0.7681 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.6132, allocations: 342.6 kB / 0.7684 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.6137, allocations: 419.4 kB / 0.7688 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6137, allocations: 4 kB / 0.7688 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008675/0.6146, allocations: 484.2 kB / 0.7692 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6146, allocations: 8 kB / 0.7693 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6147, allocations: 11.98 kB / 0.7693 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6147, allocations: 8 kB / 0.7693 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.615, allocations: 96.52 kB / 0.7694 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.615, allocations: 15.94 kB / 0.7694 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.6157, allocations: 125.3 kB / 0.7695 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.6157, allocations: 24 kB / 0.7695 GB, free: 11.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0002448/0.616, allocations: 229.6 kB / 0.7697 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.6161, allocations: 71.16 kB / 0.7698 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.6162, allocations: 74.09 kB / 0.7699 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6162, allocations: 4 kB / 0.7699 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.6162, allocations: 0 / 0.7699 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6162, allocations: 3.938 kB / 0.7699 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6174, allocations: 1.116 MB / 0.771 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6175, allocations: 7.938 kB / 0.771 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.6175, allocations: 23.92 kB / 0.771 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6176, allocations: 4.312 kB / 0.771 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6176, allocations: 8 kB / 0.771 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6176, allocations: 4 kB / 0.771 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6176, allocations: 4 kB / 0.771 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.6179, allocations: 267.7 kB / 0.7713 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.6181, allocations: 168.2 kB / 0.7714 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.346e-05/0.6182, allocations: 4 kB / 0.7714 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.6185, allocations: 19.98 kB / 0.7715 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.6185, allocations: 15.92 kB / 0.7715 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.6185, allocations: 8.062 kB / 0.7715 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007582/0.6193, allocations: 0.581 MB / 0.7721 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6193, allocations: 3.938 kB / 0.7721 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005379/0.6199, allocations: 163.8 kB / 0.7722 GB, free: 8.277 MB / 0.5919 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.0008331/0.6207, allocations: 0.8954 MB / 0.7731 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.6212, allocations: 232.9 kB / 0.7733 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6212, allocations: 0 / 0.7733 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.6213, allocations: 48.48 kB / 0.7734 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.6228, allocations: 358.1 kB / 0.7737 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.6299, allocations: 5.789 MB / 0.7794 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.6303, allocations: 0.9408 MB / 0.7803 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004851/0.6308, allocations: 148.4 kB / 0.7804 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6311, allocations: 227.4 kB / 0.7806 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.6311, allocations: 0 / 0.7806 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.6628, allocations: 17.16 MB / 0.7974 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.663, allocations: 270.8 kB / 0.7976 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.603, allocations: 6.656 kB / 0.7977 GB, free: 14.12 MB / 0.6231 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)