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.004936/0.004936, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001105/0.001105, allocations: 198.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9139/0.9139, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 64.12 kB / 0.5857 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3752, allocations: 81.03 MB / 0.6649 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02001/0.3953, allocations: 20.74 MB / 0.6851 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00743/0.4027, allocations: 4.947 MB / 0.6899 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005977/0.4034, allocations: 18.69 kB / 0.69 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007838/0.4042, allocations: 276.5 kB / 0.6902 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.4062, allocations: 0.8146 MB / 0.691 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4081, allocations: 0.7157 MB / 0.6917 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.41, allocations: 1.387 MB / 0.6931 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.4106, allocations: 433.4 kB / 0.6935 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000949/0.4116, allocations: 0.5697 MB / 0.694 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.4122, allocations: 449.3 kB / 0.6945 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.4123, allocations: 41.19 kB / 0.6945 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.4135, allocations: 0.639 MB / 0.6951 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.4137, allocations: 121.8 kB / 0.6953 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.414, allocations: 292.4 kB / 0.6955 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4151, allocations: 0.8535 MB / 0.6964 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4151, allocations: 0 / 0.6964 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.657e-06/0.4152, allocations: 2.25 kB / 0.6964 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4152, allocations: 3.938 kB / 0.6964 GB, free: 13.89 MB / 0.5294 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.001561/0.4167, allocations: 0.9405 MB / 0.6973 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4168, allocations: 9.625 kB / 0.6973 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.734e-05/0.4169, allocations: 65.41 kB / 0.6974 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.417, allocations: 67.42 kB / 0.6974 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.4178, allocations: 491 kB / 0.6979 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.4178, allocations: 22.41 kB / 0.6979 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.4179, allocations: 35.66 kB / 0.6979 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.4185, allocations: 303 kB / 0.6982 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4186, allocations: 5.938 kB / 0.6982 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.4186, allocations: 14.12 kB / 0.6983 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4186, allocations: 7.438 kB / 0.6983 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.4193, allocations: 265.6 kB / 0.6985 GB, free: 12.27 MB / 0.5294 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.002227/0.4215, allocations: 1.339 MB / 0.6998 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.422, allocations: 256.1 kB / 0.7001 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.4223, allocations: 140.2 kB / 0.7002 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/0.4228, allocations: 0.4913 MB / 0.7007 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.4229, allocations: 48.94 kB / 0.7007 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.4229, allocations: 0 / 0.7007 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.00176/0.4246, allocations: 0.5573 MB / 0.7013 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4247, allocations: 58.31 kB / 0.7013 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.4252, allocations: 465.6 kB / 0.7018 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.4253, allocations: 32.23 kB / 0.7018 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.4255, allocations: 247.8 kB / 0.702 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.4256, allocations: 90.02 kB / 0.7021 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4257, allocations: 73.94 kB / 0.7022 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4259, allocations: 357.3 kB / 0.7025 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.4263, allocations: 139.2 kB / 0.7027 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.4267, allocations: 178.3 kB / 0.7028 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.4273, allocations: 269.6 kB / 0.7031 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4273, allocations: 1.531 kB / 0.7031 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001611/0.4289, allocations: 495.1 kB / 0.7036 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.429, allocations: 5.469 kB / 0.7036 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.429, allocations: 0 / 0.7036 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003476/0.4293, allocations: 62.84 kB / 0.7036 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.4297, allocations: 66.39 kB / 0.7037 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004885/0.4302, allocations: 0.5667 MB / 0.7043 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.4306, allocations: 54.33 kB / 0.7043 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.4307, allocations: 14.62 kB / 0.7043 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000437/0.4311, allocations: 249 kB / 0.7046 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003687/0.4315, allocations: 177.2 kB / 0.7047 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006062/0.4321, allocations: 257.8 kB / 0.705 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.4321, allocations: 1.25 kB / 0.705 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008278/0.433, allocations: 371.4 kB / 0.7053 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.433, allocations: 10.44 kB / 0.7053 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.433, allocations: 7.938 kB / 0.7053 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.433, allocations: 4 kB / 0.7053 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.4334, allocations: 87.81 kB / 0.7054 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.4334, allocations: 0 / 0.7054 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.4338, allocations: 47.84 kB / 0.7055 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4339, allocations: 12 kB / 0.7055 GB, free: 6.746 MB / 0.5294 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.0001574/0.434, allocations: 205.5 kB / 0.7057 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4342, allocations: 55.59 kB / 0.7057 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.4352, allocations: 420 kB / 0.7061 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4352, allocations: 4 kB / 0.7061 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4352, allocations: 0 / 0.7061 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4352, allocations: 0 / 0.7061 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.4368, allocations: 0.9531 MB / 0.7071 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4368, allocations: 0 / 0.7071 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.4371, allocations: 47.97 kB / 0.7071 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.4373, allocations: 44.94 kB / 0.7072 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.4373, allocations: 8 kB / 0.7072 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004138/0.4377, allocations: 0.5679 MB / 0.7077 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.4377, allocations: 0 / 0.7077 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.4386, allocations: 491.3 kB / 0.7082 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.4388, allocations: 152.7 kB / 0.7083 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.4389, allocations: 7.938 kB / 0.7083 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4392, allocations: 31.95 kB / 0.7084 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.4393, allocations: 19.98 kB / 0.7084 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.4393, allocations: 15.98 kB / 0.7084 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003834/0.4397, allocations: 318.9 kB / 0.7087 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4397, allocations: 0 / 0.7087 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007453/0.4405, allocations: 255.4 kB / 0.709 GB, free: 3.023 MB / 0.5294 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.001635/0.4421, allocations: 1.19 MB / 0.7101 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.4434, allocations: 466 kB / 0.7106 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4434, allocations: 0 / 0.7106 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.4438, allocations: 171.8 kB / 0.7107 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4449, allocations: 216.7 kB / 0.7109 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.4516, allocations: 4.021 MB / 0.7149 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.4521, allocations: 0.8588 MB / 0.7157 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.4525, allocations: 124.2 kB / 0.7158 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.4528, allocations: 171.4 kB / 0.716 GB, free: 11.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4528, allocations: 0 / 0.716 GB, free: 11.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0437/0.4965, allocations: 15.03 MB / 0.7307 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.24, allocations: 16 kB / 0.7307 GB, free: 12.88 MB / 0.5606 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/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)