Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_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.001509/0.00151, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001598/0.001597, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.201/2.201, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9247/0.9247, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8.719 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5643, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.03839/0.6027, allocations: 17.41 MB / 0.6 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.6147, allocations: 3.986 MB / 0.6039 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.6162, allocations: 15.12 kB / 0.6039 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.618, allocations: 258.9 kB / 0.6041 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.6233, allocations: 0.8085 MB / 0.6049 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.6279, allocations: 0.7733 MB / 0.6057 GB, free: 3.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.6309, allocations: 0.8395 MB / 0.6065 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.632, allocations: 352.2 kB / 0.6068 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.6342, allocations: 480.6 kB / 0.6073 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.6355, allocations: 321.5 kB / 0.6076 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.6358, allocations: 20.62 kB / 0.6076 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.6381, allocations: 395.8 kB / 0.608 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.6385, allocations: 98.47 kB / 0.6081 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.639, allocations: 127.6 kB / 0.6082 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.6406, allocations: 0.516 MB / 0.6087 GB, free: 1.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6406, allocations: 0 / 0.6087 GB, free: 1.648 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6407, allocations: 0 / 0.6087 GB, free: 1.648 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.923e-05/0.6407, allocations: 0 / 0.6087 GB, free: 1.648 MB / 446.1 MB 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.003287/0.644, allocations: 0.818 MB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.6441, allocations: 8.406 kB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.6443, allocations: 64.19 kB / 0.6096 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.6447, allocations: 63 kB / 0.6096 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.6462, allocations: 438.6 kB / 0.61 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.763e-05/0.6463, allocations: 31.84 kB / 0.6101 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6464, allocations: 34.47 kB / 0.6101 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6477, allocations: 312.3 kB / 0.6104 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.6477, allocations: 0.9688 kB / 0.6104 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.6478, allocations: 10.06 kB / 0.6104 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.6478, allocations: 11.31 kB / 0.6104 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.649, allocations: 283.5 kB / 0.6107 GB, free: 152 kB / 446.1 MB 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.00394/0.653, allocations: 1.35 MB / 0.612 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6541, allocations: 288.2 kB / 0.6123 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.6548, allocations: 0.4897 MB / 0.6128 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.6549, allocations: 39.94 kB / 0.6128 GB, free: 14.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/0.6549, allocations: 0 / 0.6128 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.002981/0.6579, allocations: 0.5833 MB / 0.6134 GB, free: 13.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.658, allocations: 57.98 kB / 0.6134 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.6591, allocations: 462.2 kB / 0.6139 GB, free: 13.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.6592, allocations: 31.98 kB / 0.6139 GB, free: 13.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.6595, allocations: 246.9 kB / 0.6141 GB, free: 13.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6597, allocations: 84.98 kB / 0.6142 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.6597, allocations: 5.281 kB / 0.6142 GB, free: 13.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.66, allocations: 361.6 kB / 0.6146 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.6605, allocations: 130.1 kB / 0.6147 GB, free: 12.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.6611, allocations: 182.9 kB / 0.6149 GB, free: 12.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005989/0.6618, allocations: 138.9 kB / 0.615 GB, free: 12.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6618, allocations: 1.312 kB / 0.615 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001814/0.6636, allocations: 429.6 kB / 0.6154 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.6638, allocations: 269.3 kB / 0.6157 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6638, allocations: 0 / 0.6157 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.6644, allocations: 61.88 kB / 0.6157 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.665, allocations: 75.28 kB / 0.6158 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/0.6657, allocations: 0.5636 MB / 0.6163 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.6668, allocations: 69.14 kB / 0.6164 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.6669, allocations: 17.92 kB / 0.6164 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6669, allocations: 3.656 kB / 0.6164 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.6683, allocations: 327.1 kB / 0.6167 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6683, allocations: 1.516 kB / 0.6167 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.6684, allocations: 5.438 kB / 0.6168 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.669, allocations: 82.98 kB / 0.6168 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.6691, allocations: 10.22 kB / 0.6168 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/0.67, allocations: 64.58 kB / 0.6169 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.6701, allocations: 14.52 kB / 0.6169 GB, free: 11.29 MB / 462.1 MB 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.0004447/0.6706, allocations: 246 kB / 0.6172 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.6708, allocations: 54.47 kB / 0.6172 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.6726, allocations: 444.2 kB / 0.6176 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.6727, allocations: 3.25 kB / 0.6176 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6727, allocations: 0 / 0.6176 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.6727, allocations: 8.953 kB / 0.6176 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.676, allocations: 0.9663 MB / 0.6186 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6761, allocations: 1.219 kB / 0.6186 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.6765, allocations: 52.03 kB / 0.6186 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003556/0.6769, allocations: 51.92 kB / 0.6187 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.677, allocations: 6.75 kB / 0.6187 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006957/0.6777, allocations: 0.5589 MB / 0.6192 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6777, allocations: 1.031 kB / 0.6192 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.6793, allocations: 0.5532 MB / 0.6198 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/0.6797, allocations: 162.8 kB / 0.6199 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6799, allocations: 10.53 kB / 0.6199 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.6806, allocations: 39.27 kB / 0.62 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6808, allocations: 26.03 kB / 0.62 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.6809, allocations: 9.438 kB / 0.62 GB, free: 8.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007359/0.6816, allocations: 323.8 kB / 0.6203 GB, free: 8.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6816, allocations: 3.938 kB / 0.6203 GB, free: 8.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001761/0.6834, allocations: 256.6 kB / 0.6206 GB, free: 8.566 MB / 462.1 MB 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.002843/0.6863, allocations: 1.501 MB / 0.622 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.6885, allocations: 488 kB / 0.6225 GB, free: 7.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6885, allocations: 3.938 kB / 0.6225 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008143/0.6893, allocations: 179.9 kB / 0.6227 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.692, allocations: 244.8 kB / 0.6229 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.6959, allocations: 1.631 MB / 0.6245 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.6966, allocations: 0.8669 MB / 0.6254 GB, free: 4.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009539/0.6976, allocations: 112.2 kB / 0.6255 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.698, allocations: 183.4 kB / 0.6256 GB, free: 4.008 MB / 462.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6981, allocations: 0 / 0.6256 GB, free: 4.008 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05504/0.7531, allocations: 14.12 MB / 0.6394 GB, free: 6.25 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/0.7535, allocations: 239.5 kB / 0.6397 GB, free: 6.012 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.092/4.846, allocations: 4.062 kB / 0.6397 GB, free: 6.008 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: