Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_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.001082/0.001082, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001318/0.001318, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7851/0.7851, allocations: 122.8 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 77.93 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5152/0.8391, allocations: 214 MB / 0.7763 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.8517, allocations: 12.16 MB / 0.7882 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.8531, allocations: 42.88 kB / 0.7882 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.8541, allocations: 0.5125 MB / 0.7887 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.858, allocations: 1.875 MB / 0.7906 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.8618, allocations: 1.901 MB / 0.7924 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002223/0.864, allocations: 2.339 MB / 0.7947 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.8653, allocations: 1.241 MB / 0.7959 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.8664, allocations: 0.8192 MB / 0.7967 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.8671, allocations: 0.6622 MB / 0.7974 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.8672, allocations: 90.47 kB / 0.7974 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.8719, allocations: 2.835 MB / 0.8002 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.8724, allocations: 0.5468 MB / 0.8007 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.8732, allocations: 0.7378 MB / 0.8015 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.8776, allocations: 3.144 MB / 0.8045 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.8776, allocations: 0.75 kB / 0.8045 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8776, allocations: 0 / 0.8045 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.002e-05/0.8777, allocations: 0.7812 kB / 0.8045 GB, free: 0.7891 MB / 0.5762 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.002404/0.8801, allocations: 1.74 MB / 0.8062 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8801, allocations: 9.438 kB / 0.8062 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.8803, allocations: 172.5 kB / 0.8064 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.8819, allocations: 368.6 kB / 0.8068 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.8831, allocations: 0.8968 MB / 0.8076 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.8831, allocations: 79.06 kB / 0.8077 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.8832, allocations: 112.9 kB / 0.8078 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8851, allocations: 1.519 MB / 0.8093 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.8851, allocations: 6.469 kB / 0.8093 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.8852, allocations: 45.72 kB / 0.8093 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.767e-05/0.8853, allocations: 59.47 kB / 0.8094 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.8865, allocations: 1.031 MB / 0.8104 GB, free: 15.08 MB / 0.5919 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.006139/0.8927, allocations: 5.96 MB / 0.8162 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.8933, allocations: 335.5 kB / 0.8166 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.8935, allocations: 248.3 kB / 0.8168 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/0.8942, allocations: 0.7077 MB / 0.8175 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.8942, allocations: 43.92 kB / 0.8175 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.8943, allocations: 0 / 0.8175 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28): time 0.001222/0.8955, allocations: 0.6691 MB / 0.8182 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.8956, allocations: 141.4 kB / 0.8183 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.8974, allocations: 1.678 MB / 0.8199 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.8975, allocations: 31.05 kB / 0.82 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.8979, allocations: 0.5609 MB / 0.8205 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.898, allocations: 94.38 kB / 0.8206 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8981, allocations: 63.42 kB / 0.8207 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.8982, allocations: 319.5 kB / 0.821 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.8984, allocations: 157.6 kB / 0.8211 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.8987, allocations: 271.2 kB / 0.8214 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.8991, allocations: 409 kB / 0.8218 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8991, allocations: 3.938 kB / 0.8218 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006807/0.8998, allocations: 0.5499 MB / 0.8223 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8998, allocations: 7.344 kB / 0.8223 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8998, allocations: 0 / 0.8223 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8999, allocations: 3.406 kB / 0.8223 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.9001, allocations: 58.42 kB / 0.8224 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.9001, allocations: 3.219 kB / 0.8224 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.9006, allocations: 104 kB / 0.8225 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.9007, allocations: 25.83 kB / 0.8225 GB, free: 9.371 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004042/0.9011, allocations: 386 kB / 0.8229 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.9013, allocations: 141.2 kB / 0.823 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.9019, allocations: 385.8 kB / 0.8234 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9019, allocations: 2.469 kB / 0.8234 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9019, allocations: 3.438 kB / 0.8234 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9019, allocations: 4 kB / 0.8234 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.9053, allocations: 2.604 MB / 0.8259 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.9053, allocations: 6.562 kB / 0.8259 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.9055, allocations: 60.78 kB / 0.826 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.9056, allocations: 7.688 kB / 0.826 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.9056, allocations: 11.88 kB / 0.826 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.9056, allocations: 10.19 kB / 0.826 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.9056, allocations: 13.97 kB / 0.826 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006737/0.9063, allocations: 0.6234 MB / 0.8267 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.9067, allocations: 294 kB / 0.8269 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.907, allocations: 18.44 kB / 0.827 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.9074, allocations: 15.81 kB / 0.827 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.9075, allocations: 36 kB / 0.827 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.9075, allocations: 13.16 kB / 0.827 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001513/0.909, allocations: 1.224 MB / 0.8282 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9091, allocations: 0 / 0.8282 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001085/0.9101, allocations: 338.9 kB / 0.8285 GB, free: 6.863 MB / 0.5919 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.002624/0.9128, allocations: 1.682 MB / 0.8302 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.9134, allocations: 365.8 kB / 0.8305 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9134, allocations: 0 / 0.8305 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.9136, allocations: 156 kB / 0.8307 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.9174, allocations: 0.9211 MB / 0.8316 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.9309, allocations: 11.56 MB / 0.8429 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.9317, allocations: 1.216 MB / 0.844 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009928/0.9327, allocations: 298.7 kB / 0.8443 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/0.9333, allocations: 466.4 kB / 0.8448 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of SimCode: time 6.02e-07/0.9333, allocations: 0 / 0.8448 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07294/1.006, allocations: 43.11 MB / 0.8869 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.097/9.103, allocations: 5.922 kB / 0.8869 GB, free: 14.07 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)