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.0008342/0.0008343, allocations: 91.69 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.0009413/0.0009415, 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 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003199, allocations: 8.969 kB / 0.5035 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4711, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01986/0.491, allocations: 19.04 MB / 0.6017 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.4979, allocations: 4.633 MB / 0.6063 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007678/0.4987, allocations: 15.69 kB / 0.6063 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007177/0.4995, allocations: 200 kB / 0.6065 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.5015, allocations: 0.6483 MB / 0.6071 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.5034, allocations: 0.6022 MB / 0.6077 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.5055, allocations: 1.557 MB / 0.6092 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.5061, allocations: 339.2 kB / 0.6095 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5072, allocations: 0.4932 MB / 0.61 GB, free: 360 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008169/0.508, allocations: 426.8 kB / 0.6104 GB, free: 116 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5081, allocations: 20.69 kB / 0.6104 GB, free: 116 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.5095, allocations: 0.5238 MB / 0.611 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5097, allocations: 98.88 kB / 0.611 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.51, allocations: 131.1 kB / 0.6112 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.5109, allocations: 0.552 MB / 0.6117 GB, free: 15.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5109, allocations: 0 / 0.6117 GB, free: 15.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.511, allocations: 1.562 kB / 0.6117 GB, free: 15.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.511, allocations: 0 / 0.6117 GB, free: 15.33 MB / 462.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.001636/0.5126, allocations: 0.8447 MB / 0.6125 GB, free: 14.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5127, allocations: 8.719 kB / 0.6125 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.56e-05/0.5128, allocations: 65.41 kB / 0.6126 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.5129, allocations: 63.06 kB / 0.6127 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.5135, allocations: 433.5 kB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5136, allocations: 27.12 kB / 0.6131 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.5136, allocations: 35.72 kB / 0.6131 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.5143, allocations: 319.1 kB / 0.6134 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5143, allocations: 0 / 0.6134 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.5143, allocations: 14.47 kB / 0.6135 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5144, allocations: 7.312 kB / 0.6135 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.515, allocations: 282.9 kB / 0.6137 GB, free: 13.81 MB / 462.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.002202/0.5172, allocations: 1.352 MB / 0.6151 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.5178, allocations: 268.1 kB / 0.6153 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.5182, allocations: 144 kB / 0.6154 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005737/0.5187, allocations: 0.4961 MB / 0.6159 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.5188, allocations: 36.06 kB / 0.616 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.5188, allocations: 0 / 0.616 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001974/0.5208, allocations: 0.5914 MB / 0.6165 GB, free: 11.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5208, allocations: 57.75 kB / 0.6166 GB, free: 11.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.5215, allocations: 470.3 kB / 0.617 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.5216, allocations: 32.08 kB / 0.6171 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.5219, allocations: 242.9 kB / 0.6173 GB, free: 10.89 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.522, allocations: 88.98 kB / 0.6174 GB, free: 10.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.522, allocations: 5.094 kB / 0.6174 GB, free: 10.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5222, allocations: 358.1 kB / 0.6177 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.5226, allocations: 124.6 kB / 0.6179 GB, free: 10.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.523, allocations: 185.7 kB / 0.618 GB, free: 10.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.5234, allocations: 145.4 kB / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5234, allocations: 0 / 0.6182 GB, free: 10.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00114/0.5246, allocations: 426.7 kB / 0.6186 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.5247, allocations: 108.3 kB / 0.6187 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5247, allocations: 1.25 kB / 0.6187 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.525, allocations: 56.83 kB / 0.6187 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.5254, allocations: 75.83 kB / 0.6188 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.5259, allocations: 0.5673 MB / 0.6194 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.5265, allocations: 68.92 kB / 0.6194 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.5265, allocations: 14.52 kB / 0.6194 GB, free: 9.254 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5265, allocations: 5.344 kB / 0.6195 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007197/0.5273, allocations: 323.9 kB / 0.6198 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5273, allocations: 1.594 kB / 0.6198 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.5273, allocations: 1.625 kB / 0.6198 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5277, allocations: 79.7 kB / 0.6198 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.5277, allocations: 1.5 kB / 0.6198 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.5282, allocations: 80.39 kB / 0.6199 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.5282, allocations: 9.469 kB / 0.6199 GB, free: 9.051 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.000286/0.5285, allocations: 246.8 kB / 0.6202 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5286, allocations: 50.45 kB / 0.6202 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000982/0.5296, allocations: 436.1 kB / 0.6206 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.5297, allocations: 11.03 kB / 0.6206 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5297, allocations: 9.078 kB / 0.6206 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5297, allocations: 0 / 0.6206 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.5314, allocations: 0.9629 MB / 0.6216 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5314, allocations: 5.062 kB / 0.6216 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.5316, allocations: 52.28 kB / 0.6216 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.5318, allocations: 50.7 kB / 0.6217 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.5318, allocations: 8.562 kB / 0.6217 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003568/0.5322, allocations: 0.5576 MB / 0.6222 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5322, allocations: 2.312 kB / 0.6222 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.5331, allocations: 0.506 MB / 0.6227 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.5333, allocations: 166.9 kB / 0.6229 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.5334, allocations: 6.406 kB / 0.6229 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.5338, allocations: 43.67 kB / 0.6229 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.5339, allocations: 26.44 kB / 0.623 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.5339, allocations: 8.344 kB / 0.623 GB, free: 6.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.5343, allocations: 321 kB / 0.6233 GB, free: 6.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5343, allocations: 0 / 0.6233 GB, free: 6.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000864/0.5352, allocations: 244.4 kB / 0.6235 GB, free: 6.418 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.001585/0.5368, allocations: 1.207 MB / 0.6247 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.5379, allocations: 484.4 kB / 0.6252 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5379, allocations: 0 / 0.6252 GB, free: 4.809 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.5384, allocations: 175.8 kB / 0.6253 GB, free: 4.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5397, allocations: 260 kB / 0.6256 GB, free: 4.395 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.5445, allocations: 2.688 MB / 0.6282 GB, free: 1.637 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.545, allocations: 0.863 MB / 0.629 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004917/0.5455, allocations: 112.2 kB / 0.6291 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.5458, allocations: 171.4 kB / 0.6293 GB, free: 480 kB / 462.1 MB Notification: Performance of SimCode: time 4.8e-07/0.5458, allocations: 4 kB / 0.6293 GB, free: 476 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.5772, allocations: 14.4 MB / 0.6434 GB, free: 2.426 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/0.5774, allocations: 247.3 kB / 0.6436 GB, free: 2.148 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.742, allocations: 3.125 kB / 0.6436 GB, free: 2.148 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: