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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 101.4 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.586e-05, allocations: 3.719 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1579, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.441, allocations: 352.6 MB / 0.9849 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.441, allocations: 82.97 kB / 0.9849 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9592/2.4, allocations: 256.7 MB / 1.236 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/2.4, allocations: 2.812 kB / 1.236 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.325e-05/2.4, allocations: 18.56 kB / 1.236 GB, free: 173.5 MB / 0.6823 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.001492/2.402, allocations: 0.824 MB / 1.236 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.402, allocations: 11.16 kB / 1.236 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/2.402, allocations: 64.81 kB / 1.236 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/2.402, allocations: 66.94 kB / 1.237 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/2.403, allocations: 475.3 kB / 1.237 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/2.403, allocations: 28.31 kB / 1.237 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/2.403, allocations: 39.81 kB / 1.237 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/2.403, allocations: 269.8 kB / 1.237 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/2.403, allocations: 0 / 1.237 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/2.403, allocations: 15.64 kB / 1.237 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/2.403, allocations: 10.58 kB / 1.237 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/2.404, allocations: 200.5 kB / 1.238 GB, free: 172.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002052/2.406, allocations: 1.331 MB / 1.239 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/2.406, allocations: 245.4 kB / 1.239 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/2.407, allocations: 106.9 kB / 1.239 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/2.407, allocations: 0.496 MB / 1.24 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/2.407, allocations: 34.53 kB / 1.24 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/2.407, allocations: 0 / 1.24 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0005931/2.407, allocations: 268.2 kB / 1.24 GB, free: 171.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/2.408, allocations: 57.86 kB / 1.24 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/2.408, allocations: 403.2 kB / 1.24 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/2.408, allocations: 34.55 kB / 1.24 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/2.408, allocations: 244 kB / 1.241 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/2.408, allocations: 86.38 kB / 1.241 GB, free: 171 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/2.408, allocations: 9.125 kB / 1.241 GB, free: 171 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/2.408, allocations: 361.2 kB / 1.241 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/2.409, allocations: 84.73 kB / 1.241 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/2.409, allocations: 176 kB / 1.241 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/2.409, allocations: 109.3 kB / 1.241 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.409, allocations: 0 / 1.241 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009639/2.41, allocations: 337.3 kB / 1.242 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.25e-05/2.41, allocations: 277.3 kB / 1.242 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/2.41, allocations: 2.406 kB / 1.242 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/2.411, allocations: 41.72 kB / 1.242 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/2.411, allocations: 77.33 kB / 1.242 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/2.411, allocations: 0.5601 MB / 1.243 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/2.412, allocations: 78.16 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/2.412, allocations: 21.61 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/2.412, allocations: 7.453 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004178/2.413, allocations: 237.4 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/2.413, allocations: 1.094 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/2.413, allocations: 1.969 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/2.413, allocations: 83.84 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/2.413, allocations: 4 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/2.413, allocations: 69.16 kB / 1.243 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/2.414, allocations: 13.77 kB / 1.243 GB, free: 169.7 MB / 0.6823 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 () * 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.0001268/2.414, allocations: 123.2 kB / 1.243 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/2.414, allocations: 54.02 kB / 1.243 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/2.415, allocations: 359.3 kB / 1.244 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/2.415, allocations: 3.312 kB / 1.244 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/2.415, allocations: 4.938 kB / 1.244 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/2.415, allocations: 1.453 kB / 1.244 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/2.416, allocations: 0.8866 MB / 1.245 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/2.416, allocations: 1.953 kB / 1.245 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/2.416, allocations: 49.39 kB / 1.245 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/2.416, allocations: 49.14 kB / 1.245 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/2.416, allocations: 7.25 kB / 1.245 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002598/2.417, allocations: 0.5587 MB / 1.245 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/2.417, allocations: 7.844 kB / 1.245 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/2.417, allocations: 484.9 kB / 1.246 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/2.418, allocations: 159.7 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/2.418, allocations: 7.25 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/2.418, allocations: 50.83 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.418, allocations: 25.05 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/2.418, allocations: 12.56 kB / 1.246 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003761/2.419, allocations: 312.2 kB / 1.246 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/2.419, allocations: 0 / 1.246 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001023/2.42, allocations: 278.2 kB / 1.247 GB, free: 168.2 MB / 0.6823 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 () * 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.001618/2.421, allocations: 1.544 MB / 1.248 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009258/2.422, allocations: 390.2 kB / 1.248 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.422, allocations: 3.281 kB / 1.248 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/2.422, allocations: 141.2 kB / 1.249 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/2.424, allocations: 245 kB / 1.249 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/2.426, allocations: 0.7223 MB / 1.249 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/2.426, allocations: 0.8681 MB / 1.25 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006131/2.427, allocations: 141.3 kB / 1.25 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/2.427, allocations: 164.2 kB / 1.251 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/2.427, allocations: 2.625 kB / 1.251 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/2.47, allocations: 17.35 MB / 1.268 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/2.47, allocations: 211.1 kB / 1.268 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/4.99, allocations: 8.656 kB / 1.268 GB, free: 165.7 MB / 0.6823 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)