Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_dev_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.00106/0.00106, allocations: 92.08 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.001336/0.001336, 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9466/0.9466, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 11.98 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5044/0.6632, allocations: 195.6 MB / 0.7785 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.6792, allocations: 11.48 MB / 0.7897 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.6811, allocations: 43.62 kB / 0.7897 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.6824, allocations: 369.2 kB / 0.7901 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.687, allocations: 1.403 MB / 0.7915 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/0.691, allocations: 1.291 MB / 0.7927 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.6948, allocations: 2.616 MB / 0.7953 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.6961, allocations: 0.8843 MB / 0.7961 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.6975, allocations: 0.6845 MB / 0.7968 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.6983, allocations: 0.6458 MB / 0.7974 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.6984, allocations: 36 kB / 0.7975 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.7035, allocations: 2.171 MB / 0.7996 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005487/0.7041, allocations: 498.6 kB / 0.8001 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004122/0.7045, allocations: 309 kB / 0.8004 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.7076, allocations: 2.252 MB / 0.8026 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7077, allocations: 4 kB / 0.8026 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7077, allocations: 0 / 0.8026 GB, free: 500 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.7077, allocations: 0 / 0.8026 GB, free: 500 kB / 0.6075 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.002119/0.7098, allocations: 1.458 MB / 0.804 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7099, allocations: 13.09 kB / 0.804 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/0.7101, allocations: 172.8 kB / 0.8042 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.7117, allocations: 373.7 kB / 0.8045 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.7129, allocations: 0.8651 MB / 0.8054 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.713, allocations: 78.06 kB / 0.8055 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.7131, allocations: 100 kB / 0.8055 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.7153, allocations: 1.525 MB / 0.807 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.7153, allocations: 0 / 0.807 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.7154, allocations: 48 kB / 0.8071 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.7155, allocations: 69.47 kB / 0.8071 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.7169, allocations: 1.017 MB / 0.8081 GB, free: 10.57 MB / 0.6231 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.005969/0.7229, allocations: 5.907 MB / 0.8139 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.7235, allocations: 328.6 kB / 0.8142 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.7238, allocations: 247.2 kB / 0.8145 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.7244, allocations: 0.7117 MB / 0.8152 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.7245, allocations: 34.56 kB / 0.8152 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/0.7245, allocations: 3.984 kB / 0.8152 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001234/0.7257, allocations: 0.6723 MB / 0.8158 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.7258, allocations: 132.5 kB / 0.816 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.7278, allocations: 1.667 MB / 0.8176 GB, free: 324 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.7278, allocations: 33.7 kB / 0.8176 GB, free: 284 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.7284, allocations: 0.5544 MB / 0.8182 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.7284, allocations: 94.56 kB / 0.8183 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.7285, allocations: 11.94 kB / 0.8183 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7286, allocations: 322 kB / 0.8186 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.7288, allocations: 153.4 kB / 0.8187 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.7291, allocations: 273.9 kB / 0.819 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.7293, allocations: 184.5 kB / 0.8192 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7294, allocations: 0 / 0.8192 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00073/0.7301, allocations: 0.5502 MB / 0.8197 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7301, allocations: 4 kB / 0.8197 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.7301, allocations: 4 kB / 0.8197 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7302, allocations: 8.188 kB / 0.8197 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.7304, allocations: 55.91 kB / 0.8198 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7304, allocations: 4 kB / 0.8198 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.7309, allocations: 114.5 kB / 0.8199 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.731, allocations: 16 kB / 0.8199 GB, free: 13.91 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.0004599/0.7314, allocations: 381.6 kB / 0.8203 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.7317, allocations: 142.3 kB / 0.8204 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.7322, allocations: 380.6 kB / 0.8208 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7322, allocations: 4 kB / 0.8208 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7322, allocations: 64 / 0.8208 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.7323, allocations: 7.984 kB / 0.8208 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.7355, allocations: 2.563 MB / 0.8233 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7356, allocations: 8.812 kB / 0.8233 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.7357, allocations: 43.92 kB / 0.8233 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.7358, allocations: 16 kB / 0.8233 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.7358, allocations: 12 kB / 0.8234 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-05/0.7358, allocations: 15.92 kB / 0.8234 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7358, allocations: 7.938 kB / 0.8234 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.7365, allocations: 0.6055 MB / 0.824 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.737, allocations: 307.2 kB / 0.8243 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.7371, allocations: 16 kB / 0.8243 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.7375, allocations: 19.84 kB / 0.8243 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.7375, allocations: 47.75 kB / 0.8243 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.7376, allocations: 16 kB / 0.8244 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001495/0.7391, allocations: 1.203 MB / 0.8255 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7391, allocations: 0 / 0.8255 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001065/0.7402, allocations: 339.8 kB / 0.8259 GB, free: 7.48 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.002218/0.7424, allocations: 1.562 MB / 0.8274 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.743, allocations: 335.5 kB / 0.8277 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.743, allocations: 4.375 kB / 0.8277 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.7432, allocations: 155.7 kB / 0.8279 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/0.7468, allocations: 0.851 MB / 0.8287 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.7603, allocations: 8.072 MB / 0.8366 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/0.7612, allocations: 1.201 MB / 0.8377 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001088/0.7623, allocations: 302.9 kB / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.7629, allocations: 459.3 kB / 0.8385 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 3.005e-06/0.7629, allocations: 4 kB / 0.8385 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3205/1.083, allocations: 40.89 MB / 0.8784 GB, free: 216.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/1.084, allocations: 221.7 kB / 0.8786 GB, free: 216 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.619, allocations: 0 / 0.8786 GB, free: 216 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) Environment - environmentSimulation: