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.005422/0.005422, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001262/0.001262, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7703/0.7703, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 59.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3739, allocations: 80.21 MB / 0.6592 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01791/0.3919, allocations: 20.74 MB / 0.6794 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.3989, allocations: 4.95 MB / 0.6843 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.3995, allocations: 17.97 kB / 0.6843 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007752/0.4004, allocations: 279.4 kB / 0.6846 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.4024, allocations: 0.8153 MB / 0.6854 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.4042, allocations: 0.7161 MB / 0.6861 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.406, allocations: 1.382 MB / 0.6874 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000597/0.4066, allocations: 437.3 kB / 0.6878 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009155/0.4075, allocations: 0.5738 MB / 0.6884 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.4081, allocations: 448.5 kB / 0.6888 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.416e-05/0.4082, allocations: 38.66 kB / 0.6888 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.4093, allocations: 0.6343 MB / 0.6895 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4095, allocations: 125.6 kB / 0.6896 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.4098, allocations: 288.8 kB / 0.6899 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.4109, allocations: 0.8618 MB / 0.6907 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4109, allocations: 0 / 0.6907 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4109, allocations: 0 / 0.6907 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.411, allocations: 1.375 kB / 0.6907 GB, free: 1.379 MB / 0.5137 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.001498/0.4125, allocations: 0.9412 MB / 0.6916 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4125, allocations: 9.812 kB / 0.6916 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.376e-05/0.4126, allocations: 65.05 kB / 0.6917 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.4127, allocations: 71.67 kB / 0.6918 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.4134, allocations: 486.3 kB / 0.6922 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4135, allocations: 27 kB / 0.6923 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.4135, allocations: 35.78 kB / 0.6923 GB, free: 60 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.4142, allocations: 306.6 kB / 0.6926 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4142, allocations: 1.25 kB / 0.6926 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.4142, allocations: 14.53 kB / 0.6926 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4143, allocations: 6.531 kB / 0.6926 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.4149, allocations: 266.5 kB / 0.6929 GB, free: 15.75 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.002163/0.4171, allocations: 1.339 MB / 0.6942 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.4176, allocations: 252.5 kB / 0.6944 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.4179, allocations: 136 kB / 0.6945 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.4184, allocations: 0.4959 MB / 0.695 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4184, allocations: 35.59 kB / 0.695 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.4184, allocations: 4 kB / 0.6951 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001746/0.4202, allocations: 0.5597 MB / 0.6956 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4202, allocations: 57.95 kB / 0.6957 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.4207, allocations: 461.6 kB / 0.6961 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.4207, allocations: 40.67 kB / 0.6961 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.4209, allocations: 251.7 kB / 0.6964 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.421, allocations: 89.56 kB / 0.6965 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.4211, allocations: 72.84 kB / 0.6965 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4213, allocations: 357.5 kB / 0.6969 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.4216, allocations: 118.3 kB / 0.697 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.422, allocations: 183.8 kB / 0.6972 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.4226, allocations: 281.4 kB / 0.6974 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4226, allocations: 0 / 0.6974 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001541/0.4242, allocations: 497.7 kB / 0.6979 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4242, allocations: 5.344 kB / 0.6979 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4242, allocations: 0 / 0.6979 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.4245, allocations: 58.03 kB / 0.698 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4249, allocations: 70.95 kB / 0.698 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/0.4253, allocations: 0.5665 MB / 0.6986 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.4258, allocations: 48.19 kB / 0.6986 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.4258, allocations: 18.64 kB / 0.6986 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004166/0.4262, allocations: 243.5 kB / 0.6989 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003517/0.4266, allocations: 176.4 kB / 0.699 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005699/0.4272, allocations: 260.5 kB / 0.6993 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-06/0.4272, allocations: 0 / 0.6993 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007739/0.428, allocations: 373.4 kB / 0.6997 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.428, allocations: 8.906 kB / 0.6997 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.428, allocations: 1.594 kB / 0.6997 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.428, allocations: 0.8125 kB / 0.6997 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.4284, allocations: 79.27 kB / 0.6997 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4284, allocations: 5.172 kB / 0.6997 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.4288, allocations: 47.88 kB / 0.6998 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.4288, allocations: 9.219 kB / 0.6998 GB, free: 10.5 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.0001436/0.429, allocations: 198.2 kB / 0.7 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.4291, allocations: 58.11 kB / 0.7 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.43, allocations: 424 kB / 0.7004 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.43, allocations: 4.031 kB / 0.7004 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4301, allocations: 0 / 0.7004 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4301, allocations: 3.938 kB / 0.7005 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.4316, allocations: 0.9531 MB / 0.7014 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4316, allocations: 1.344 kB / 0.7014 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.4318, allocations: 51.52 kB / 0.7014 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/0.432, allocations: 46.08 kB / 0.7015 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.432, allocations: 8.562 kB / 0.7015 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/0.4324, allocations: 0.5657 MB / 0.702 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4324, allocations: 1.344 kB / 0.702 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.4332, allocations: 0.4922 MB / 0.7025 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.4334, allocations: 157.5 kB / 0.7027 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.4335, allocations: 10.38 kB / 0.7027 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.4338, allocations: 28.59 kB / 0.7027 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.4339, allocations: 22.44 kB / 0.7027 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.4339, allocations: 7.75 kB / 0.7027 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003614/0.4343, allocations: 325.1 kB / 0.703 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4343, allocations: 0 / 0.703 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007361/0.435, allocations: 254.5 kB / 0.7033 GB, free: 7.883 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.001489/0.4365, allocations: 1.172 MB / 0.7044 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.4377, allocations: 475.5 kB / 0.7049 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4377, allocations: 4 kB / 0.7049 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.4382, allocations: 172 kB / 0.7051 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4392, allocations: 209.6 kB / 0.7053 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.4454, allocations: 4.018 MB / 0.7092 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.4459, allocations: 0.8549 MB / 0.71 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.4463, allocations: 116.1 kB / 0.7101 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4466, allocations: 179.4 kB / 0.7103 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.4466, allocations: 0 / 0.7103 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4617/0.9083, allocations: 15.02 MB / 0.725 GB, free: 2.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.12, allocations: 17.67 kB / 0.725 GB, free: 2.211 MB / 0.545 GB (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/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)