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.005419/0.005419, allocations: 105.5 kB / 15.73 MB, free: 5.984 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.001153/0.001153, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8427/0.8427, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 70.39 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 80.91 MB / 0.6641 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02429/0.1953, allocations: 20.75 MB / 0.6844 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00699/0.2024, allocations: 4.948 MB / 0.6892 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.2031, allocations: 15.88 kB / 0.6892 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.2039, allocations: 274.1 kB / 0.6895 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.2061, allocations: 0.8199 MB / 0.6903 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.2081, allocations: 0.7101 MB / 0.691 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.21, allocations: 1.384 MB / 0.6924 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.2107, allocations: 443.2 kB / 0.6928 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009632/0.2117, allocations: 0.5798 MB / 0.6933 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.2123, allocations: 446.1 kB / 0.6938 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.2123, allocations: 40 kB / 0.6938 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.2137, allocations: 0.6316 MB / 0.6944 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2139, allocations: 131.4 kB / 0.6945 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.2143, allocations: 286.5 kB / 0.6948 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.2163, allocations: 0.8537 MB / 0.6957 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2164, allocations: 4 kB / 0.6957 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2164, allocations: 0 / 0.6957 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.2164, allocations: 0 / 0.6957 GB, free: 5.914 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.002336/0.2188, allocations: 0.9187 MB / 0.6966 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.2188, allocations: 9.109 kB / 0.6966 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.579e-05/0.2189, allocations: 74.66 kB / 0.6966 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.2191, allocations: 64.19 kB / 0.6967 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.2203, allocations: 474.5 kB / 0.6972 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2203, allocations: 28.59 kB / 0.6972 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.2204, allocations: 36 kB / 0.6972 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.2213, allocations: 302 kB / 0.6975 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2213, allocations: 3.938 kB / 0.6975 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.2214, allocations: 12 kB / 0.6975 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2214, allocations: 8 kB / 0.6975 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008987/0.2223, allocations: 266.4 kB / 0.6978 GB, free: 3.637 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.00305/0.2254, allocations: 1.337 MB / 0.6991 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.2259, allocations: 265.4 kB / 0.6993 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.2263, allocations: 136.8 kB / 0.6995 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005729/0.2269, allocations: 0.4947 MB / 0.6999 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.227, allocations: 46.44 kB / 0.7 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 3.827e-06/0.227, allocations: 0 / 0.7 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.002659/0.2297, allocations: 0.5533 MB / 0.7005 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2297, allocations: 55.41 kB / 0.7006 GB, free: 480 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005631/0.2303, allocations: 470.1 kB / 0.701 GB, free: 0 / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.2304, allocations: 33.7 kB / 0.7011 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.2307, allocations: 244.4 kB / 0.7013 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2308, allocations: 82.75 kB / 0.7014 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.231, allocations: 73.69 kB / 0.7014 GB, free: 15.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2312, allocations: 358.8 kB / 0.7018 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.2317, allocations: 128.5 kB / 0.7019 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.2323, allocations: 181 kB / 0.7021 GB, free: 14.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.2332, allocations: 276.1 kB / 0.7024 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2332, allocations: 0 / 0.7024 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002302/0.2355, allocations: 489.8 kB / 0.7028 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2356, allocations: 8 kB / 0.7028 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2356, allocations: 80 / 0.7028 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/0.2361, allocations: 52.8 kB / 0.7029 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.2366, allocations: 75.89 kB / 0.7029 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005696/0.2372, allocations: 0.5678 MB / 0.7035 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.2378, allocations: 47.66 kB / 0.7035 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.2379, allocations: 19.98 kB / 0.7036 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006223/0.2385, allocations: 240.1 kB / 0.7038 GB, free: 13.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004986/0.239, allocations: 174.6 kB / 0.704 GB, free: 12.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008257/0.2398, allocations: 264.8 kB / 0.7042 GB, free: 12.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.2399, allocations: 0 / 0.7042 GB, free: 12.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001116/0.241, allocations: 371.4 kB / 0.7046 GB, free: 12.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.241, allocations: 7.938 kB / 0.7046 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.241, allocations: 0 / 0.7046 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.241, allocations: 8 kB / 0.7046 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.2416, allocations: 79.88 kB / 0.7047 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2416, allocations: 4 kB / 0.7047 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.2422, allocations: 47.7 kB / 0.7047 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.2422, allocations: 12 kB / 0.7047 GB, free: 12.1 MB / 0.545 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.0002065/0.2424, allocations: 196.2 kB / 0.7049 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2426, allocations: 51.52 kB / 0.705 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.2441, allocations: 435.8 kB / 0.7054 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.2441, allocations: 8 kB / 0.7054 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2441, allocations: 0 / 0.7054 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2441, allocations: 0 / 0.7054 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.2463, allocations: 0.9408 MB / 0.7063 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2463, allocations: 4 kB / 0.7063 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.2467, allocations: 51.91 kB / 0.7064 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.2469, allocations: 36.83 kB / 0.7064 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.247, allocations: 12.12 kB / 0.7064 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00049/0.2475, allocations: 0.56 MB / 0.7069 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2475, allocations: 7.969 kB / 0.707 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.2487, allocations: 491.1 kB / 0.7074 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.249, allocations: 152.3 kB / 0.7076 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.249, allocations: 11.94 kB / 0.7076 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/0.2496, allocations: 27.97 kB / 0.7076 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.2497, allocations: 19.97 kB / 0.7076 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.2497, allocations: 23.98 kB / 0.7076 GB, free: 8.926 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005251/0.2503, allocations: 318.9 kB / 0.708 GB, free: 8.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.074e-06/0.2503, allocations: 0 / 0.708 GB, free: 8.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001207/0.2515, allocations: 255.5 kB / 0.7082 GB, free: 8.367 MB / 0.545 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.002208/0.2537, allocations: 1.183 MB / 0.7094 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.2555, allocations: 451.5 kB / 0.7098 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2555, allocations: 0 / 0.7098 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.2562, allocations: 174 kB / 0.7099 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.2578, allocations: 212.4 kB / 0.7102 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009482/0.2672, allocations: 4.004 MB / 0.7141 GB, free: 2.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.2679, allocations: 0.8588 MB / 0.7149 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006531/0.2685, allocations: 112.1 kB / 0.715 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.2689, allocations: 171.4 kB / 0.7152 GB, free: 1.039 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.2689, allocations: 0 / 0.7152 GB, free: 1.039 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.3228, allocations: 15.28 MB / 0.7301 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.49, allocations: 7.922 kB / 0.7301 GB, free: 2.016 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)