Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_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.004528/0.004529, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001166/0.001166, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.201/1.201, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6435/0.6435, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.34 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.115, allocations: 76.18 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.3977/0.5128, allocations: 212.5 MB / 0.7633 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.5257, allocations: 12.26 MB / 0.7753 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009679/0.5268, allocations: 51.56 kB / 0.7753 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009778/0.5277, allocations: 401.4 kB / 0.7757 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.5314, allocations: 1.762 MB / 0.7774 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.535, allocations: 1.735 MB / 0.7791 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.5376, allocations: 3.077 MB / 0.7821 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.5388, allocations: 1.011 MB / 0.7831 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.5398, allocations: 0.7234 MB / 0.7838 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007461/0.5405, allocations: 0.708 MB / 0.7845 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.5407, allocations: 51.94 kB / 0.7846 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/0.546, allocations: 3.529 MB / 0.788 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004253/0.5464, allocations: 0.5024 MB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006464/0.5471, allocations: 0.6723 MB / 0.7892 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.5513, allocations: 3.334 MB / 0.7924 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5513, allocations: 0 / 0.7924 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5513, allocations: 3.938 kB / 0.7924 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5513, allocations: 0 / 0.7924 GB, free: 4.41 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002035/0.5534, allocations: 1.725 MB / 0.7941 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5534, allocations: 8.031 kB / 0.7941 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.5536, allocations: 172.6 kB / 0.7943 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5551, allocations: 377.8 kB / 0.7946 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5563, allocations: 0.8877 MB / 0.7955 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.5563, allocations: 78.03 kB / 0.7956 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.5565, allocations: 100 kB / 0.7957 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.5584, allocations: 1.513 MB / 0.7972 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5584, allocations: 7.938 kB / 0.7972 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.5585, allocations: 44 kB / 0.7972 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/0.5586, allocations: 61.48 kB / 0.7973 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.5599, allocations: 1.021 MB / 0.7983 GB, free: 14.21 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.005691/0.5656, allocations: 5.929 MB / 0.8041 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.5661, allocations: 322.2 kB / 0.8044 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.5664, allocations: 247.4 kB / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.5671, allocations: 0.7077 MB / 0.8053 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.5671, allocations: 42.5 kB / 0.8053 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.5672, allocations: 3.938 kB / 0.8053 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.001198/0.5684, allocations: 0.6607 MB / 0.806 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.5684, allocations: 140.5 kB / 0.8061 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.5703, allocations: 1.65 MB / 0.8077 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.5703, allocations: 33.7 kB / 0.8078 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.5708, allocations: 0.558 MB / 0.8083 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.5709, allocations: 98.55 kB / 0.8084 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.571, allocations: 69.73 kB / 0.8085 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.5711, allocations: 317.9 kB / 0.8088 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5713, allocations: 163.9 kB / 0.8089 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.5716, allocations: 286.1 kB / 0.8092 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.5721, allocations: 434 kB / 0.8096 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5721, allocations: 0 / 0.8096 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007308/0.5729, allocations: 0.5581 MB / 0.8102 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5729, allocations: 10.19 kB / 0.8102 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5729, allocations: 4.188 kB / 0.8102 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5729, allocations: 11.98 kB / 0.8102 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.5731, allocations: 63.98 kB / 0.8102 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5732, allocations: 4 kB / 0.8102 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.5737, allocations: 110.5 kB / 0.8103 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.5737, allocations: 20 kB / 0.8104 GB, free: 1.145 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000396/0.5741, allocations: 391.5 kB / 0.8107 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.5743, allocations: 138.3 kB / 0.8109 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.5748, allocations: 376.8 kB / 0.8112 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5749, allocations: 4 kB / 0.8112 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5749, allocations: 0 / 0.8112 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5749, allocations: 8.078 kB / 0.8112 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.5782, allocations: 2.602 MB / 0.8138 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5782, allocations: 8 kB / 0.8138 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5784, allocations: 52.72 kB / 0.8138 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.5784, allocations: 4 kB / 0.8138 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.5785, allocations: 23.94 kB / 0.8139 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.5785, allocations: 11.94 kB / 0.8139 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5785, allocations: 4 kB / 0.8139 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.5791, allocations: 0.6183 MB / 0.8145 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.5795, allocations: 287.2 kB / 0.8148 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5796, allocations: 19.98 kB / 0.8148 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.58, allocations: 15.91 kB / 0.8148 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.5801, allocations: 39.84 kB / 0.8148 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.5801, allocations: 16 kB / 0.8149 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00136/0.5815, allocations: 1.207 MB / 0.816 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5815, allocations: 0 / 0.816 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009069/0.5824, allocations: 343.7 kB / 0.8164 GB, free: 10.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/0.5847, allocations: 1.673 MB / 0.818 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004968/0.5852, allocations: 347.9 kB / 0.8183 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5852, allocations: 0 / 0.8183 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.5854, allocations: 165.7 kB / 0.8185 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.5888, allocations: 0.8722 MB / 0.8193 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2134/0.8023, allocations: 11.63 MB / 0.8307 GB, free: 231.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.803, allocations: 1.2 MB / 0.8319 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009767/0.804, allocations: 300.3 kB / 0.8322 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/0.8044, allocations: 462.3 kB / 0.8326 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8044, allocations: 0 / 0.8326 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.837/3.642, allocations: 41.72 MB / 0.8733 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/3.642, allocations: 241.9 kB / 0.8736 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/6.124, allocations: 0 / 0.8736 GB, free: 208.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)