Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8064/0.8064, allocations: 143.3 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 186.6 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 96.31 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 284.7 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 17.19 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.184, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.814/0.998, allocations: 350 MB / 1.116 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/0.9985, allocations: 86.58 kB / 1.116 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.93/1.928, allocations: 257.4 MB / 1.367 GB, free: 53.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.928, allocations: 0 / 1.367 GB, free: 53.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.811e-05/1.929, allocations: 16 kB / 1.367 GB, free: 53.48 MB / 0.698 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.002215/1.931, allocations: 0.9352 MB / 1.368 GB, free: 52.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.931, allocations: 12.03 kB / 1.368 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/1.931, allocations: 70.47 kB / 1.368 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.931, allocations: 63.25 kB / 1.368 GB, free: 52.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/1.932, allocations: 471.5 kB / 1.369 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.932, allocations: 28.66 kB / 1.369 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/1.932, allocations: 40 kB / 1.369 GB, free: 51.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/1.933, allocations: 306 kB / 1.369 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.933, allocations: 0 / 1.369 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/1.933, allocations: 12 kB / 1.369 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.933, allocations: 4 kB / 1.369 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/1.933, allocations: 270.5 kB / 1.369 GB, free: 51.19 MB / 0.698 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.001848/1.935, allocations: 1.341 MB / 1.371 GB, free: 49.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/1.936, allocations: 278.4 kB / 1.371 GB, free: 49.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/1.936, allocations: 0.4986 MB / 1.371 GB, free: 48.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/1.936, allocations: 34.81 kB / 1.371 GB, free: 48.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.373e-06/1.936, allocations: 0 / 1.371 GB, free: 48.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001602/1.938, allocations: 0.5887 MB / 1.372 GB, free: 48.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/1.938, allocations: 51.41 kB / 1.372 GB, free: 48.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/1.938, allocations: 401.4 kB / 1.372 GB, free: 47.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.938, allocations: 33.7 kB / 1.372 GB, free: 47.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/1.938, allocations: 252.9 kB / 1.373 GB, free: 47.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/1.938, allocations: 78.7 kB / 1.373 GB, free: 47.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/1.938, allocations: 8 kB / 1.373 GB, free: 47.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/1.938, allocations: 370.7 kB / 1.373 GB, free: 46.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/1.939, allocations: 115.9 kB / 1.373 GB, free: 46.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/1.939, allocations: 214.8 kB / 1.373 GB, free: 46.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/1.939, allocations: 144.8 kB / 1.373 GB, free: 46.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.939, allocations: 0 / 1.373 GB, free: 46.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007958/1.94, allocations: 414.8 kB / 1.374 GB, free: 46.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/1.94, allocations: 274.9 kB / 1.374 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.94, allocations: 7.984 kB / 1.374 GB, free: 45.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/1.941, allocations: 36.78 kB / 1.374 GB, free: 45.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/1.941, allocations: 83.88 kB / 1.374 GB, free: 45.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003348/1.941, allocations: 0.5562 MB / 1.375 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/1.942, allocations: 75.81 kB / 1.375 GB, free: 44.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/1.942, allocations: 23.92 kB / 1.375 GB, free: 44.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.619e-06/1.942, allocations: 5.719 kB / 1.375 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005989/1.942, allocations: 303.7 kB / 1.375 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/1.942, allocations: 3.953 kB / 1.375 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-06/1.942, allocations: 4 kB / 1.375 GB, free: 44.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/1.943, allocations: 91.88 kB / 1.375 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/1.943, allocations: 4 kB / 1.375 GB, free: 44.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/1.943, allocations: 71.69 kB / 1.375 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/1.943, allocations: 11.98 kB / 1.375 GB, free: 44.48 MB / 0.698 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.0002165/1.944, allocations: 245 kB / 1.376 GB, free: 44.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/1.944, allocations: 51.38 kB / 1.376 GB, free: 44.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/1.944, allocations: 435.7 kB / 1.376 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/1.944, allocations: 4 kB / 1.376 GB, free: 43.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.944, allocations: 0 / 1.376 GB, free: 43.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.944, allocations: 0 / 1.376 GB, free: 43.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/1.946, allocations: 0.949 MB / 1.377 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.946, allocations: 4 kB / 1.377 GB, free: 42.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/1.946, allocations: 59.89 kB / 1.377 GB, free: 42.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/1.946, allocations: 44.89 kB / 1.377 GB, free: 42.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.946, allocations: 8 kB / 1.377 GB, free: 42.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002429/1.946, allocations: 0.5602 MB / 1.378 GB, free: 42.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.946, allocations: 0 / 1.378 GB, free: 42.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/1.947, allocations: 0.5409 MB / 1.378 GB, free: 41.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.947, allocations: 156.3 kB / 1.378 GB, free: 41.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/1.947, allocations: 8 kB / 1.378 GB, free: 41.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.948, allocations: 43.95 kB / 1.378 GB, free: 41.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/1.948, allocations: 31.91 kB / 1.378 GB, free: 41.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.948, allocations: 11.98 kB / 1.378 GB, free: 41.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003065/1.948, allocations: 314.9 kB / 1.379 GB, free: 40.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.948, allocations: 4 kB / 1.379 GB, free: 40.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008896/1.949, allocations: 279.6 kB / 1.379 GB, free: 40.57 MB / 0.698 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.001716/1.951, allocations: 1.622 MB / 1.381 GB, free: 38.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.952, allocations: 493.7 kB / 1.381 GB, free: 38.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.952, allocations: 4 kB / 1.381 GB, free: 38.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/1.952, allocations: 170 kB / 1.381 GB, free: 38.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.954, allocations: 250.2 kB / 1.381 GB, free: 38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.955, allocations: 1.64 MB / 1.383 GB, free: 36.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/1.956, allocations: 0.863 MB / 1.384 GB, free: 35.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004339/1.956, allocations: 116.8 kB / 1.384 GB, free: 35.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/1.956, allocations: 179.3 kB / 1.384 GB, free: 35.11 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/1.956, allocations: 4 kB / 1.384 GB, free: 35.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/1.986, allocations: 16.18 MB / 1.4 GB, free: 19.29 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.986, allocations: 254.9 kB / 1.4 GB, free: 18.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.742, allocations: 3.938 kB / 1.4 GB, free: 18.93 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_CheckValve.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)