Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_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.001073/0.001073, allocations: 99.7 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.001081/0.001082, 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 1.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8385/0.8385, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8.625 kB / 0.5069 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1463, allocations: 82.31 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01683/0.1632, allocations: 17.4 MB / 0.6043 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2545/0.4177, allocations: 3.988 MB / 0.6082 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.4182, allocations: 11.41 kB / 0.6082 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006484/0.4188, allocations: 263.9 kB / 0.6084 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.4203, allocations: 0.8045 MB / 0.6092 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.4219, allocations: 0.7622 MB / 0.61 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.4228, allocations: 0.8424 MB / 0.6108 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.4232, allocations: 354.8 kB / 0.6111 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005609/0.4237, allocations: 472.1 kB / 0.6116 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.4241, allocations: 321.4 kB / 0.6119 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.4241, allocations: 20.91 kB / 0.6119 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006496/0.4248, allocations: 399.4 kB / 0.6123 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.4249, allocations: 98.58 kB / 0.6124 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.671e-05/0.425, allocations: 128 kB / 0.6125 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.4254, allocations: 0.5078 MB / 0.613 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.4254, allocations: 0 / 0.613 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4254, allocations: 0 / 0.613 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4254, allocations: 0 / 0.613 GB, free: 34.6 MB / 0.4981 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.001063/0.4265, allocations: 0.8189 MB / 0.6138 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.4265, allocations: 9.469 kB / 0.6138 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.4266, allocations: 69.33 kB / 0.6139 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.4267, allocations: 63.97 kB / 0.6139 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.4272, allocations: 435.7 kB / 0.6143 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4272, allocations: 28.92 kB / 0.6144 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.4272, allocations: 33.03 kB / 0.6144 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.4277, allocations: 318.6 kB / 0.6147 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4277, allocations: 0 / 0.6147 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.4278, allocations: 12.69 kB / 0.6147 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4278, allocations: 6.031 kB / 0.6147 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.4283, allocations: 285.7 kB / 0.615 GB, free: 33.67 MB / 0.4981 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.001641/0.43, allocations: 1.356 MB / 0.6163 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.4305, allocations: 286 kB / 0.6166 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.4308, allocations: 0.4922 MB / 0.6171 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.4308, allocations: 35.56 kB / 0.6171 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.263e-06/0.4308, allocations: 0 / 0.6171 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001418/0.4322, allocations: 0.5884 MB / 0.6177 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.4323, allocations: 54.72 kB / 0.6177 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.4326, allocations: 459.3 kB / 0.6182 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.4327, allocations: 35.36 kB / 0.6182 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.4328, allocations: 246.2 kB / 0.6184 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.4328, allocations: 86.11 kB / 0.6185 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.4328, allocations: 3.25 kB / 0.6185 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.4329, allocations: 364.8 kB / 0.6189 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4332, allocations: 119.4 kB / 0.619 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.4335, allocations: 183.7 kB / 0.6192 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.4337, allocations: 155.8 kB / 0.6193 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.4337, allocations: 0 / 0.6193 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007872/0.4345, allocations: 427.9 kB / 0.6197 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.4346, allocations: 278 kB / 0.62 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4346, allocations: 1.594 kB / 0.62 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.4349, allocations: 57.83 kB / 0.62 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.4352, allocations: 70.73 kB / 0.6201 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002564/0.4355, allocations: 0.5667 MB / 0.6207 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4359, allocations: 67.56 kB / 0.6207 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4359, allocations: 16.14 kB / 0.6207 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-06/0.4359, allocations: 3.125 kB / 0.6207 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005779/0.4365, allocations: 317.8 kB / 0.621 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.4365, allocations: 6.875 kB / 0.6211 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-06/0.4365, allocations: 0 / 0.6211 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.4369, allocations: 87.78 kB / 0.6211 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.4369, allocations: 4 kB / 0.6211 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.4372, allocations: 76.52 kB / 0.6212 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.4373, allocations: 15.09 kB / 0.6212 GB, free: 30.5 MB / 0.4981 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.0001458/0.4374, allocations: 248 kB / 0.6215 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.4375, allocations: 44.19 kB / 0.6215 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.4382, allocations: 445.5 kB / 0.6219 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4383, allocations: 6.047 kB / 0.6219 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4383, allocations: 3.953 kB / 0.6219 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4383, allocations: 0 / 0.6219 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.4394, allocations: 0.9628 MB / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4394, allocations: 0 / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.4396, allocations: 56.53 kB / 0.6229 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.4398, allocations: 43.86 kB / 0.623 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4398, allocations: 8.234 kB / 0.623 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000196/0.44, allocations: 0.5668 MB / 0.6235 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.44, allocations: 3.984 kB / 0.6235 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.4406, allocations: 0.5519 MB / 0.6241 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4408, allocations: 164.1 kB / 0.6242 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.4409, allocations: 7.734 kB / 0.6242 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4412, allocations: 47.77 kB / 0.6243 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.4412, allocations: 17.66 kB / 0.6243 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.4413, allocations: 13.91 kB / 0.6243 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002423/0.4415, allocations: 318.2 kB / 0.6246 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4415, allocations: 0 / 0.6246 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005885/0.4421, allocations: 252.1 kB / 0.6249 GB, free: 28.79 MB / 0.4981 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.001096/0.4432, allocations: 1.521 MB / 0.6263 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009198/0.4442, allocations: 478.3 kB / 0.6268 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4442, allocations: 0 / 0.6268 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.4445, allocations: 180.5 kB / 0.627 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4456, allocations: 253.5 kB / 0.6272 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.447, allocations: 1.629 MB / 0.6288 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.4473, allocations: 0.865 MB / 0.6297 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.4476, allocations: 118.1 kB / 0.6298 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4478, allocations: 176.8 kB / 0.6299 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.4478, allocations: 2.406 kB / 0.6299 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.585/2.033, allocations: 14.12 MB / 0.6437 GB, free: 24.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/2.033, allocations: 244.8 kB / 0.644 GB, free: 24.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/5.353, allocations: 5.125 kB / 0.644 GB, free: 24.44 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: