Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 168.4 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.578 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.000947, allocations: 98.81 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003577, allocations: 15.5 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01451/0.2286, allocations: 20.08 MB / 0.9205 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005695/0.2343, allocations: 4.87 MB / 0.9253 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.2349, allocations: 15.88 kB / 0.9253 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.2355, allocations: 226.6 kB / 0.9255 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.237, allocations: 0.7464 MB / 0.9262 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.2384, allocations: 0.6489 MB / 0.9269 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.2397, allocations: 1.801 MB / 0.9286 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.2401, allocations: 372 kB / 0.929 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.2408, allocations: 0.529 MB / 0.9295 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.2412, allocations: 442.1 kB / 0.9299 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.2412, allocations: 20 kB / 0.9299 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000834/0.2421, allocations: 0.5964 MB / 0.9305 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.2422, allocations: 111.5 kB / 0.9306 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.2424, allocations: 296.2 kB / 0.9309 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.2431, allocations: 0.8139 MB / 0.9317 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2431, allocations: 4 kB / 0.9317 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2431, allocations: 3.938 kB / 0.9317 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2431, allocations: 0 / 0.9317 GB, free: 31.73 MB / 0.6042 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.001157/0.2443, allocations: 0.8216 MB / 0.9325 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2444, allocations: 12.03 kB / 0.9325 GB, free: 30.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.2444, allocations: 66.72 kB / 0.9326 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.2445, allocations: 68.19 kB / 0.9327 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.2449, allocations: 455 kB / 0.9331 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.245, allocations: 36.53 kB / 0.9331 GB, free: 30.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.245, allocations: 32 kB / 0.9332 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.2456, allocations: 314 kB / 0.9335 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2456, allocations: 4 kB / 0.9335 GB, free: 29.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.2456, allocations: 12 kB / 0.9335 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2456, allocations: 8 kB / 0.9335 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.2462, allocations: 286.4 kB / 0.9337 GB, free: 29.54 MB / 0.6042 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.001673/0.2478, allocations: 1.345 MB / 0.9351 GB, free: 28.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.2483, allocations: 267.7 kB / 0.9353 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.2486, allocations: 144.8 kB / 0.9355 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002949/0.2489, allocations: 0.4986 MB / 0.9359 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2489, allocations: 34.56 kB / 0.936 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.2489, allocations: 0 / 0.936 GB, free: 27.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001557/0.2505, allocations: 0.6068 MB / 0.9366 GB, free: 26.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.2505, allocations: 51.41 kB / 0.9366 GB, free: 26.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.2509, allocations: 462.1 kB / 0.9371 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2509, allocations: 37.7 kB / 0.9371 GB, free: 25.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.251, allocations: 248.4 kB / 0.9373 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.2511, allocations: 86.73 kB / 0.9374 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.2511, allocations: 8 kB / 0.9374 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.2512, allocations: 354.8 kB / 0.9378 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.2515, allocations: 127.7 kB / 0.9379 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2518, allocations: 192.8 kB / 0.9381 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.2523, allocations: 290.4 kB / 0.9383 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2523, allocations: 11.94 kB / 0.9384 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008586/0.2532, allocations: 433 kB / 0.9388 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.2533, allocations: 105.6 kB / 0.9389 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2533, allocations: 3.984 kB / 0.9389 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.2536, allocations: 68.73 kB / 0.9389 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.2539, allocations: 67.95 kB / 0.939 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002865/0.2542, allocations: 0.5678 MB / 0.9396 GB, free: 23.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.2547, allocations: 67.64 kB / 0.9396 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.2547, allocations: 19.98 kB / 0.9396 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-06/0.2547, allocations: 4 kB / 0.9396 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006337/0.2554, allocations: 323.7 kB / 0.94 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.2554, allocations: 4 kB / 0.94 GB, free: 22.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-06/0.2554, allocations: 4 kB / 0.94 GB, free: 22.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.2557, allocations: 83.88 kB / 0.94 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.2558, allocations: 4 kB / 0.94 GB, free: 22.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.2561, allocations: 63.2 kB / 0.9401 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2562, allocations: 16 kB / 0.9401 GB, free: 22.62 MB / 0.6042 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.0001624/0.2563, allocations: 249 kB / 0.9404 GB, free: 22.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2564, allocations: 47.44 kB / 0.9404 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.2572, allocations: 443.8 kB / 0.9408 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.2572, allocations: 4 kB / 0.9408 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2572, allocations: 0 / 0.9408 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2573, allocations: 11.98 kB / 0.9408 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2585, allocations: 0.9651 MB / 0.9418 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2585, allocations: 0 / 0.9418 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2587, allocations: 52.03 kB / 0.9418 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.2588, allocations: 48.83 kB / 0.9419 GB, free: 20.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.2589, allocations: 11.92 kB / 0.9419 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000224/0.2591, allocations: 0.5601 MB / 0.9424 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2591, allocations: 0 / 0.9424 GB, free: 20.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.2598, allocations: 0.5133 MB / 0.9429 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2599, allocations: 156.4 kB / 0.9431 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.26, allocations: 8 kB / 0.9431 GB, free: 19.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.2603, allocations: 47.86 kB / 0.9431 GB, free: 19.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.2604, allocations: 27.77 kB / 0.9432 GB, free: 19.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2604, allocations: 8 kB / 0.9432 GB, free: 19.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002513/0.2607, allocations: 330.8 kB / 0.9435 GB, free: 19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2607, allocations: 4 kB / 0.9435 GB, free: 19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006091/0.2613, allocations: 255.5 kB / 0.9437 GB, free: 18.75 MB / 0.6042 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.001128/0.2624, allocations: 1.17 MB / 0.9449 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000998/0.2635, allocations: 499.3 kB / 0.9454 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2635, allocations: 0 / 0.9454 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.2638, allocations: 180 kB / 0.9455 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.2652, allocations: 258.6 kB / 0.9458 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.27, allocations: 4.235 MB / 0.9499 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2702, allocations: 0.8549 MB / 0.9507 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.2707, allocations: 120.2 kB / 0.9509 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.2709, allocations: 175.4 kB / 0.951 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2709, allocations: 0 / 0.951 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2964, allocations: 14.43 MB / 0.9651 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.2966, allocations: 296.1 kB / 0.9654 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.004, allocations: 0 / 0.9654 GB, free: 12.55 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_CheckValve.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)