Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.0007889/0.000789, allocations: 92.39 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.0007955/0.0007955, 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.36/1.36, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7397/0.7397, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003291, allocations: 12.53 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4054, allocations: 81.56 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2009/0.6064, allocations: 195.6 MB / 0.7742 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.6195, allocations: 11.47 MB / 0.7854 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009062/0.6205, allocations: 47.62 kB / 0.7854 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.6214, allocations: 357.2 kB / 0.7858 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.6249, allocations: 1.411 MB / 0.7872 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003375/0.6282, allocations: 1.297 MB / 0.7884 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.6313, allocations: 2.62 MB / 0.791 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.6324, allocations: 0.8824 MB / 0.7918 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6336, allocations: 0.6767 MB / 0.7925 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.6343, allocations: 0.6536 MB / 0.7931 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.6344, allocations: 36 kB / 0.7932 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004335/0.6388, allocations: 2.163 MB / 0.7953 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.6393, allocations: 0.4908 MB / 0.7958 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.6395, allocations: 305 kB / 0.7961 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.6421, allocations: 2.256 MB / 0.7983 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6422, allocations: 0 / 0.7983 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6422, allocations: 0 / 0.7983 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.6422, allocations: 0 / 0.7983 GB, free: 3.746 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00186/0.644, allocations: 1.464 MB / 0.7997 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.6441, allocations: 8.031 kB / 0.7997 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001886/0.6443, allocations: 172.8 kB / 0.7999 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.6458, allocations: 377.7 kB / 0.8002 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.647, allocations: 0.8535 MB / 0.8011 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.647, allocations: 86 kB / 0.8011 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6472, allocations: 104 kB / 0.8012 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.6492, allocations: 1.515 MB / 0.8027 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.6493, allocations: 11.88 kB / 0.8027 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.6494, allocations: 51.94 kB / 0.8028 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.775e-05/0.6494, allocations: 61.5 kB / 0.8028 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.6509, allocations: 1.017 MB / 0.8038 GB, free: 13.81 MB / 0.6387 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.005905/0.6568, allocations: 5.918 MB / 0.8096 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.6573, allocations: 314.2 kB / 0.8099 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.6576, allocations: 247.4 kB / 0.8101 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/0.6583, allocations: 0.7081 MB / 0.8108 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.6583, allocations: 50.5 kB / 0.8109 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 2.385e-06/0.6583, allocations: 0 / 0.8109 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001198/0.6595, allocations: 0.6596 MB / 0.8115 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.6596, allocations: 136.6 kB / 0.8117 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6615, allocations: 1.674 MB / 0.8133 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.6615, allocations: 29.7 kB / 0.8133 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/0.662, allocations: 0.5583 MB / 0.8139 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.6621, allocations: 90.66 kB / 0.814 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.6622, allocations: 4 kB / 0.814 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6623, allocations: 321.9 kB / 0.8143 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.6625, allocations: 159.9 kB / 0.8144 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.6628, allocations: 269.9 kB / 0.8147 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.663, allocations: 192.5 kB / 0.8149 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.663, allocations: 0 / 0.8149 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006819/0.6637, allocations: 0.5424 MB / 0.8154 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6637, allocations: 11.98 kB / 0.8154 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6637, allocations: 0 / 0.8154 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.946e-05/0.6638, allocations: 4 kB / 0.8154 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.664, allocations: 51.92 kB / 0.8155 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.664, allocations: 7.938 kB / 0.8155 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.6645, allocations: 118.7 kB / 0.8156 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.6646, allocations: 20 kB / 0.8156 GB, free: 1.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.665, allocations: 381.6 kB / 0.816 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.6652, allocations: 134.3 kB / 0.8161 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.6658, allocations: 396.6 kB / 0.8165 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6658, allocations: 0 / 0.8165 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6658, allocations: 4 kB / 0.8165 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6658, allocations: 0 / 0.8165 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3591/1.025, allocations: 2.552 MB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.025, allocations: 5.469 kB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.025, allocations: 50.05 kB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.025, allocations: 8.312 kB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/1.025, allocations: 13.92 kB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/1.025, allocations: 13.05 kB / 0.819 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.025, allocations: 6.031 kB / 0.8191 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009486/1.026, allocations: 0.6194 MB / 0.8197 GB, free: 218 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/1.027, allocations: 305 kB / 0.82 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/1.027, allocations: 15.16 kB / 0.82 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/1.028, allocations: 16.41 kB / 0.82 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/1.028, allocations: 40.41 kB / 0.82 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/1.028, allocations: 18.41 kB / 0.82 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002332/1.03, allocations: 1.196 MB / 0.8212 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.1e-07/1.03, allocations: 8.422 kB / 0.8212 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001117/1.031, allocations: 338.1 kB / 0.8215 GB, free: 217.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/1.034, allocations: 1.562 MB / 0.8231 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005795/1.034, allocations: 333.5 kB / 0.8234 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.034, allocations: 1.375 kB / 0.8234 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/1.034, allocations: 162.4 kB / 0.8235 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.038, allocations: 0.8516 MB / 0.8244 GB, free: 216 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.051, allocations: 8.076 MB / 0.8323 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/1.052, allocations: 1.203 MB / 0.8334 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00118/1.053, allocations: 300.9 kB / 0.8337 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.053, allocations: 460.1 kB / 0.8342 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.313e-06/1.053, allocations: 1.094 kB / 0.8342 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05862/1.112, allocations: 40.91 MB / 0.8741 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.112, allocations: 215.1 kB / 0.8743 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.735, allocations: 0 / 0.8743 GB, free: 177.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: