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.001078/0.001078, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00116/0.00116, allocations: 172.7 kB / 15.95 MB, free: 208 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.463/1.463, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9906/0.9906, allocations: 135.3 MB / 426.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 82.31 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.4034/0.6041, allocations: 19.03 MB / 0.606 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006573/0.6107, allocations: 4.634 MB / 0.6106 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007629/0.6115, allocations: 14.91 kB / 0.6106 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.6123, allocations: 196.7 kB / 0.6108 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.6144, allocations: 0.6479 MB / 0.6114 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.6162, allocations: 0.6025 MB / 0.612 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.6178, allocations: 1.548 MB / 0.6135 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.6182, allocations: 335.4 kB / 0.6138 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.619, allocations: 0.4971 MB / 0.6143 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.6195, allocations: 425.1 kB / 0.6147 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.6196, allocations: 19.81 kB / 0.6147 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.6207, allocations: 0.5245 MB / 0.6152 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.6209, allocations: 102.5 kB / 0.6153 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.621, allocations: 127.6 kB / 0.6155 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.6216, allocations: 0.5591 MB / 0.616 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6216, allocations: 0 / 0.616 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6216, allocations: 0 / 0.616 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6216, allocations: 0 / 0.616 GB, free: 34.12 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.001237/0.6229, allocations: 0.8425 MB / 0.6168 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6229, allocations: 8.5 kB / 0.6168 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.623, allocations: 67.09 kB / 0.6169 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.793e-05/0.6231, allocations: 61.72 kB / 0.617 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.6237, allocations: 430.4 kB / 0.6174 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.6237, allocations: 27.06 kB / 0.6174 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.6238, allocations: 32.91 kB / 0.6174 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.6244, allocations: 319.9 kB / 0.6177 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6244, allocations: 0 / 0.6177 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.6245, allocations: 15.58 kB / 0.6178 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6245, allocations: 5.75 kB / 0.6178 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/0.6252, allocations: 283.7 kB / 0.618 GB, free: 33.17 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.002284/0.6274, allocations: 1.353 MB / 0.6193 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.628, allocations: 267 kB / 0.6196 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.6283, allocations: 141.5 kB / 0.6197 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.6288, allocations: 0.5051 MB / 0.6202 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.6289, allocations: 33.94 kB / 0.6203 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.225e-06/0.6289, allocations: 0 / 0.6203 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001694/0.6306, allocations: 0.5943 MB / 0.6208 GB, free: 31.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.6306, allocations: 60.64 kB / 0.6209 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/0.6311, allocations: 455 kB / 0.6213 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.6311, allocations: 33.3 kB / 0.6214 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.6313, allocations: 246 kB / 0.6216 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.6314, allocations: 84.3 kB / 0.6217 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.6314, allocations: 10.75 kB / 0.6217 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6315, allocations: 358.6 kB / 0.622 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.6318, allocations: 123.1 kB / 0.6222 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.6321, allocations: 189.2 kB / 0.6223 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.6324, allocations: 149.8 kB / 0.6225 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6324, allocations: 4 kB / 0.6225 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008826/0.6333, allocations: 429.1 kB / 0.6229 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.6334, allocations: 110.1 kB / 0.623 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6334, allocations: 0 / 0.623 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.6337, allocations: 53.92 kB / 0.623 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.6341, allocations: 77.02 kB / 0.6231 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003187/0.6344, allocations: 0.5649 MB / 0.6237 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.6349, allocations: 69.34 kB / 0.6237 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.6349, allocations: 14.38 kB / 0.6237 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.6349, allocations: 3.156 kB / 0.6238 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006131/0.6355, allocations: 321.8 kB / 0.6241 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.6356, allocations: 0.875 kB / 0.6241 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/0.6356, allocations: 7.125 kB / 0.6241 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.6359, allocations: 83.39 kB / 0.6241 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.6359, allocations: 2.531 kB / 0.6241 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.6363, allocations: 68.23 kB / 0.6242 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.6363, allocations: 14.31 kB / 0.6242 GB, free: 30.1 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.0001968/0.6365, allocations: 244.3 kB / 0.6245 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.6366, allocations: 48.38 kB / 0.6245 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/0.6375, allocations: 452.7 kB / 0.6249 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6375, allocations: 5.812 kB / 0.6249 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6375, allocations: 0 / 0.6249 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6375, allocations: 7.375 kB / 0.625 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.6389, allocations: 0.9674 MB / 0.6259 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6389, allocations: 0 / 0.6259 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.6391, allocations: 54.3 kB / 0.6259 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.6393, allocations: 44.53 kB / 0.626 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.6393, allocations: 9.656 kB / 0.626 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002481/0.6396, allocations: 0.5571 MB / 0.6265 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6396, allocations: 3.938 kB / 0.6265 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.6403, allocations: 0.5 MB / 0.627 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.6404, allocations: 166 kB / 0.6272 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.6405, allocations: 6.594 kB / 0.6272 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.6408, allocations: 41.45 kB / 0.6272 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.6409, allocations: 25.69 kB / 0.6273 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.6409, allocations: 12.78 kB / 0.6273 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003081/0.6413, allocations: 316.2 kB / 0.6276 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6413, allocations: 4 kB / 0.6276 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007542/0.642, allocations: 251.8 kB / 0.6278 GB, free: 28.42 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.00126/0.6433, allocations: 1.191 MB / 0.629 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.6443, allocations: 485.6 kB / 0.6294 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6444, allocations: 3.312 kB / 0.6295 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.6447, allocations: 181.6 kB / 0.6296 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.646, allocations: 250.7 kB / 0.6299 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.6497, allocations: 2.697 MB / 0.6325 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.65, allocations: 0.8549 MB / 0.6333 GB, free: 25.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004602/0.6505, allocations: 123.3 kB / 0.6334 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.6507, allocations: 175.4 kB / 0.6336 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.6507, allocations: 3.938 kB / 0.6336 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.6902, allocations: 14.41 MB / 0.6477 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.6905, allocations: 249.2 kB / 0.6479 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.892, allocations: 0 / 0.6479 GB, free: 24.43 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: