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.0009144/0.0009144, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00511/0.00511, allocations: 169.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.598/1.598, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005026/0.0005027, allocations: 21.58 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1953, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01817/0.2135, allocations: 20.07 MB / 0.8076 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006259/0.2198, allocations: 4.897 MB / 0.8124 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.2203, allocations: 15.88 kB / 0.8124 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.2209, allocations: 214.7 kB / 0.8126 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.2225, allocations: 0.7534 MB / 0.8133 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2241, allocations: 0.6492 MB / 0.814 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.226, allocations: 1.809 MB / 0.8157 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.2265, allocations: 362.5 kB / 0.8161 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.2273, allocations: 0.5212 MB / 0.8166 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.2278, allocations: 454 kB / 0.817 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.2279, allocations: 20 kB / 0.817 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009288/0.2288, allocations: 0.5964 MB / 0.8176 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2289, allocations: 107.5 kB / 0.8177 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.2292, allocations: 300.1 kB / 0.818 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008997/0.2301, allocations: 0.806 MB / 0.8188 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2301, allocations: 0 / 0.8188 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2301, allocations: 3.938 kB / 0.8188 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.2301, allocations: 0 / 0.8188 GB, free: 11.84 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.001361/0.2315, allocations: 0.8255 MB / 0.8196 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2315, allocations: 8.031 kB / 0.8196 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.925e-05/0.2316, allocations: 66.72 kB / 0.8197 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.2317, allocations: 64.19 kB / 0.8197 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.2323, allocations: 455 kB / 0.8202 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2323, allocations: 32.66 kB / 0.8202 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.2324, allocations: 40 kB / 0.8202 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.233, allocations: 314 kB / 0.8205 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.233, allocations: 3.938 kB / 0.8205 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.233, allocations: 12 kB / 0.8206 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2331, allocations: 11.98 kB / 0.8206 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.2337, allocations: 282.4 kB / 0.8208 GB, free: 9.645 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.001967/0.2357, allocations: 1.349 MB / 0.8222 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2362, allocations: 269.3 kB / 0.8224 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2365, allocations: 148.8 kB / 0.8226 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/0.2369, allocations: 0.5064 MB / 0.823 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.237, allocations: 30.56 kB / 0.8231 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.237, allocations: 0 / 0.8231 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001708/0.2387, allocations: 0.5925 MB / 0.8237 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2387, allocations: 55.41 kB / 0.8237 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.2392, allocations: 466.1 kB / 0.8242 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.2392, allocations: 33.7 kB / 0.8242 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.2394, allocations: 244.4 kB / 0.8244 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.2395, allocations: 94.69 kB / 0.8245 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.2396, allocations: 37.69 kB / 0.8245 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2397, allocations: 355 kB / 0.8249 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.24, allocations: 127.8 kB / 0.825 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.2404, allocations: 200.7 kB / 0.8252 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.241, allocations: 282.5 kB / 0.8255 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.241, allocations: 3.938 kB / 0.8255 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001517/0.2426, allocations: 0.5046 MB / 0.826 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.173e-05/0.2426, allocations: 114.7 kB / 0.8261 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2426, allocations: 0 / 0.8261 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.243, allocations: 52.81 kB / 0.8261 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.2433, allocations: 71.89 kB / 0.8262 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004031/0.2437, allocations: 0.5679 MB / 0.8267 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.2442, allocations: 79.64 kB / 0.8268 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.2443, allocations: 15.98 kB / 0.8268 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/0.2443, allocations: 4 kB / 0.8268 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007034/0.245, allocations: 315.7 kB / 0.8271 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.245, allocations: 0 / 0.8271 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-06/0.245, allocations: 4 kB / 0.8271 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.2454, allocations: 87.88 kB / 0.8272 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.2454, allocations: 0 / 0.8272 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.2458, allocations: 63.73 kB / 0.8273 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2458, allocations: 15.98 kB / 0.8273 GB, free: 2.617 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.2461, allocations: 245.1 kB / 0.8275 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.2461, allocations: 55.33 kB / 0.8276 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.2471, allocations: 444.2 kB / 0.828 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.2471, allocations: 4 kB / 0.828 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2471, allocations: 0 / 0.828 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.2472, allocations: 7.922 kB / 0.828 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.2486, allocations: 0.9748 MB / 0.829 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.2486, allocations: 4.031 kB / 0.829 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2489, allocations: 51.91 kB / 0.829 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.249, allocations: 48.77 kB / 0.8291 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.249, allocations: 7.984 kB / 0.8291 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003475/0.2494, allocations: 0.5563 MB / 0.8296 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2494, allocations: 0 / 0.8296 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.2502, allocations: 0.5081 MB / 0.8301 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.2504, allocations: 164.3 kB / 0.8303 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.2504, allocations: 8 kB / 0.8303 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.2508, allocations: 39.95 kB / 0.8303 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.2509, allocations: 27.91 kB / 0.8304 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2509, allocations: 15.98 kB / 0.8304 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003313/0.2512, allocations: 318.9 kB / 0.8307 GB, free: 15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2512, allocations: 0 / 0.8307 GB, free: 15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007224/0.252, allocations: 255.5 kB / 0.8309 GB, free: 14.75 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.2535, allocations: 1.194 MB / 0.8321 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2547, allocations: 498 kB / 0.8326 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2547, allocations: 0 / 0.8326 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.2551, allocations: 175.8 kB / 0.8327 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.2566, allocations: 258.9 kB / 0.833 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/0.2631, allocations: 4.312 MB / 0.8372 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.2636, allocations: 0.8666 MB / 0.838 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004514/0.264, allocations: 108.3 kB / 0.8381 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.2643, allocations: 175.3 kB / 0.8383 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.2643, allocations: 0 / 0.8383 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3699/0.6341, allocations: 14.43 MB / 0.8524 GB, free: 8.914 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.6344, allocations: 268.8 kB / 0.8526 GB, free: 8.559 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.92, allocations: 0 / 0.8526 GB, free: 8.559 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/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)