Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.726/1.726, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 176.8 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 89.58 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.375e-05, allocations: 8 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7834, allocations: 115.3 MB / 0.971 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.793, allocations: 378.8 MB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.793, allocations: 86.11 kB / 1.341 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.4999/2.293, allocations: 251.7 MB / 1.587 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.753e-06/2.293, allocations: 192 / 1.587 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.336e-05/2.293, allocations: 19.94 kB / 1.587 GB, free: 4.746 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0018/2.295, allocations: 0.8331 MB / 1.588 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/2.295, allocations: 16.03 kB / 1.588 GB, free: 3.852 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.258e-05/2.295, allocations: 66.53 kB / 1.588 GB, free: 3.777 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/2.295, allocations: 67.2 kB / 1.588 GB, free: 3.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009129/2.296, allocations: 459.7 kB / 1.588 GB, free: 3.223 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/2.296, allocations: 24.78 kB / 1.588 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/2.296, allocations: 40 kB / 1.588 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/2.297, allocations: 271.7 kB / 1.588 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/2.297, allocations: 0 / 1.588 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/2.297, allocations: 12 kB / 1.588 GB, free: 2.875 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/2.297, allocations: 15.94 kB / 1.588 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/2.297, allocations: 203 kB / 1.589 GB, free: 2.66 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.002407/2.3, allocations: 1.326 MB / 1.59 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/2.3, allocations: 238.7 kB / 1.59 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/2.301, allocations: 108.8 kB / 1.59 GB, free: 0.8633 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/2.301, allocations: 0.4947 MB / 1.591 GB, free: 264 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/2.301, allocations: 38.56 kB / 1.591 GB, free: 216 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/2.301, allocations: 0 / 1.591 GB, free: 216 kB / 0.9167 GB Notification: Performance of matching and sorting (n=25): time 0.0006693/2.302, allocations: 270.2 kB / 1.591 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/2.302, allocations: 55.41 kB / 1.591 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/2.302, allocations: 404.1 kB / 1.591 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/2.302, allocations: 29.7 kB / 1.592 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/2.303, allocations: 244.7 kB / 1.592 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/2.303, allocations: 90.61 kB / 1.592 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/2.303, allocations: 4 kB / 1.592 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001795/2.303, allocations: 358.8 kB / 1.592 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/2.303, allocations: 79.98 kB / 1.592 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/2.303, allocations: 190.2 kB / 1.592 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/2.304, allocations: 106.1 kB / 1.593 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.304, allocations: 0 / 1.593 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007129/2.304, allocations: 363.2 kB / 1.593 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/2.305, allocations: 272.7 kB / 1.593 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/2.305, allocations: 0 / 1.593 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/2.305, allocations: 48.77 kB / 1.593 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/2.305, allocations: 71.89 kB / 1.593 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004867/2.306, allocations: 0.564 MB / 1.594 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/2.306, allocations: 75.69 kB / 1.594 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/2.306, allocations: 19.98 kB / 1.594 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/2.306, allocations: 4 kB / 1.594 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004566/2.307, allocations: 235.7 kB / 1.594 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/2.307, allocations: 4 kB / 1.594 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/2.307, allocations: 4 kB / 1.594 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/2.307, allocations: 79.89 kB / 1.594 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/2.307, allocations: 3.984 kB / 1.594 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/2.308, allocations: 67.7 kB / 1.594 GB, free: 12.49 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/2.308, allocations: 19.98 kB / 1.594 GB, free: 12.47 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/2.308, allocations: 120.9 kB / 1.594 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/2.308, allocations: 51.34 kB / 1.594 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007169/2.309, allocations: 364.5 kB / 1.595 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/2.309, allocations: 4 kB / 1.595 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/2.309, allocations: 4 kB / 1.595 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/2.309, allocations: 3.984 kB / 1.595 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/2.31, allocations: 0.8767 MB / 1.596 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.31, allocations: 0 / 1.596 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/2.31, allocations: 56.03 kB / 1.596 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/2.311, allocations: 44.83 kB / 1.596 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/2.311, allocations: 8 kB / 1.596 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003834/2.311, allocations: 0.5679 MB / 1.596 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.311, allocations: 0 / 1.596 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/2.312, allocations: 486 kB / 1.597 GB, free: 9.734 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/2.312, allocations: 156.3 kB / 1.597 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/2.312, allocations: 8 kB / 1.597 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/2.312, allocations: 44.14 kB / 1.597 GB, free: 9.512 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/2.312, allocations: 27.92 kB / 1.597 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/2.313, allocations: 11.98 kB / 1.597 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003738/2.313, allocations: 317.6 kB / 1.597 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.683e-06/2.313, allocations: 3.938 kB / 1.597 GB, free: 9.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009238/2.314, allocations: 275.5 kB / 1.598 GB, free: 8.891 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/2.315, allocations: 1.553 MB / 1.599 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008313/2.316, allocations: 385.6 kB / 1.6 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/2.316, allocations: 0 / 1.6 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002821/2.317, allocations: 149 kB / 1.6 GB, free: 6.77 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/2.318, allocations: 251.9 kB / 1.6 GB, free: 6.527 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/2.32, allocations: 0.718 MB / 1.601 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/2.32, allocations: 0.8678 MB / 1.601 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005616/2.321, allocations: 144.1 kB / 1.602 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/2.321, allocations: 171.4 kB / 1.602 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of SimCode: time 3.71e-07/2.321, allocations: 3.938 kB / 1.602 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/2.357, allocations: 17.35 MB / 1.619 GB, free: 3.422 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/2.357, allocations: 232.8 kB / 1.619 GB, free: 3.152 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/4.884, allocations: 0 / 1.619 GB, free: 3.152 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)