Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve",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.001081/0.001081, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00178/0.00178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006097/0.0006098, allocations: 13.25 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2913, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01833/0.3097, allocations: 19.04 MB / 0.806 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006721/0.3164, allocations: 4.61 MB / 0.8105 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.3173, allocations: 15.88 kB / 0.8105 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.3181, allocations: 194.7 kB / 0.8107 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.3203, allocations: 0.6556 MB / 0.8113 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.3223, allocations: 0.604 MB / 0.8119 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3244, allocations: 1.55 MB / 0.8134 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007524/0.3252, allocations: 346.7 kB / 0.8138 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.3265, allocations: 0.494 MB / 0.8142 GB, free: 304 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000909/0.3274, allocations: 434.1 kB / 0.8147 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.3275, allocations: 20 kB / 0.8147 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.3289, allocations: 0.5184 MB / 0.8152 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.3291, allocations: 103.5 kB / 0.8153 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.3294, allocations: 129.4 kB / 0.8154 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000964/0.3304, allocations: 0.5456 MB / 0.8159 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3304, allocations: 0 / 0.8159 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.298e-06/0.3304, allocations: 8 kB / 0.816 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.3304, allocations: 0 / 0.816 GB, free: 14.54 MB / 0.6387 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.001881/0.3323, allocations: 0.8292 MB / 0.8168 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3324, allocations: 16.02 kB / 0.8168 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.3325, allocations: 62.55 kB / 0.8168 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3327, allocations: 63.25 kB / 0.8169 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.3336, allocations: 434.9 kB / 0.8173 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.3337, allocations: 28.66 kB / 0.8173 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.3338, allocations: 36 kB / 0.8174 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.3345, allocations: 318 kB / 0.8177 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3345, allocations: 0 / 0.8177 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3346, allocations: 8 kB / 0.8177 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3346, allocations: 8 kB / 0.8177 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.3353, allocations: 278.4 kB / 0.818 GB, free: 12.38 MB / 0.6387 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.002449/0.3377, allocations: 1.364 MB / 0.8193 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.3382, allocations: 266.4 kB / 0.8195 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3385, allocations: 156 kB / 0.8197 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/0.339, allocations: 0.4947 MB / 0.8202 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3391, allocations: 38.56 kB / 0.8202 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.3391, allocations: 0 / 0.8202 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001676/0.3408, allocations: 0.5885 MB / 0.8208 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3408, allocations: 55.41 kB / 0.8208 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/0.3414, allocations: 458.2 kB / 0.8213 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.3415, allocations: 29.7 kB / 0.8213 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3417, allocations: 252.3 kB / 0.8215 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.3418, allocations: 86.75 kB / 0.8216 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.3418, allocations: 4 kB / 0.8216 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.342, allocations: 358.8 kB / 0.822 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3423, allocations: 127.9 kB / 0.8221 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3426, allocations: 189 kB / 0.8223 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.343, allocations: 144.8 kB / 0.8224 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.343, allocations: 0 / 0.8224 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009787/0.344, allocations: 429.9 kB / 0.8228 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.549e-05/0.3441, allocations: 106.7 kB / 0.8229 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3441, allocations: 0 / 0.8229 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.3444, allocations: 56.77 kB / 0.823 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.3448, allocations: 79.88 kB / 0.8231 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.3452, allocations: 0.564 MB / 0.8236 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.3457, allocations: 63.64 kB / 0.8237 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.3458, allocations: 15.98 kB / 0.8237 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3458, allocations: 8.062 kB / 0.8237 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006841/0.3465, allocations: 315.7 kB / 0.824 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.3465, allocations: 0 / 0.824 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.3465, allocations: 0 / 0.824 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3469, allocations: 87.97 kB / 0.8241 GB, free: 5.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3469, allocations: 7.984 kB / 0.8241 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.3473, allocations: 67.66 kB / 0.8241 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.3474, allocations: 8 kB / 0.8242 GB, free: 5.645 MB / 0.6387 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 () * Number of clocked 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.0002545/0.3476, allocations: 253 kB / 0.8244 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.3477, allocations: 47.42 kB / 0.8244 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.3487, allocations: 436.2 kB / 0.8249 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3487, allocations: 8 kB / 0.8249 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3487, allocations: 7.953 kB / 0.8249 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3487, allocations: 7.984 kB / 0.8249 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.3503, allocations: 0.9669 MB / 0.8258 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3503, allocations: 4 kB / 0.8258 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.3505, allocations: 56.09 kB / 0.8259 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.3507, allocations: 44.72 kB / 0.8259 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.3507, allocations: 8 kB / 0.8259 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003522/0.3511, allocations: 0.5563 MB / 0.8265 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3511, allocations: 0 / 0.8265 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.3519, allocations: 0.512 MB / 0.827 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3521, allocations: 160.3 kB / 0.8271 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.062e-05/0.3522, allocations: 8 kB / 0.8271 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3526, allocations: 43.95 kB / 0.8272 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.3526, allocations: 15.97 kB / 0.8272 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.3527, allocations: 12 kB / 0.8272 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003389/0.353, allocations: 322.9 kB / 0.8275 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.353, allocations: 0 / 0.8275 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007781/0.3538, allocations: 251.5 kB / 0.8278 GB, free: 1.789 MB / 0.6387 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 () * Number of clocked 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.001537/0.3553, allocations: 1.191 MB / 0.8289 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.3565, allocations: 475.8 kB / 0.8294 GB, free: 100 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3565, allocations: 0 / 0.8294 GB, free: 100 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.3569, allocations: 184 kB / 0.8295 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.3582, allocations: 253.4 kB / 0.8298 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/0.3627, allocations: 2.718 MB / 0.8324 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.3631, allocations: 0.8587 MB / 0.8333 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.3636, allocations: 116.2 kB / 0.8334 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.3639, allocations: 175.4 kB / 0.8336 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of SimCode: time 1.042e-06/0.3639, allocations: 4 kB / 0.8336 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.396, allocations: 14.43 MB / 0.8476 GB, free: 13.62 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/0.3964, allocations: 255.5 kB / 0.8479 GB, free: 13.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.594, allocations: 0 / 0.8479 GB, free: 13.29 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: