Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001249/0.001249, allocations: 199.7 kB / 16.26 MB, free: 6.617 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.59 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.8711/1.204, allocations: 212 MB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01492/1.219, allocations: 12.15 MB / 1.287 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/1.221, allocations: 50.06 kB / 1.287 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/1.222, allocations: 433.6 kB / 1.287 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005091/1.228, allocations: 1.773 MB / 1.289 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005077/1.233, allocations: 1.774 MB / 1.29 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004083/1.237, allocations: 2.359 MB / 1.293 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/1.239, allocations: 1.167 MB / 1.294 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/1.24, allocations: 0.8343 MB / 1.295 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/1.242, allocations: 0.7255 MB / 1.295 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/1.242, allocations: 90.03 kB / 1.296 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008858/1.251, allocations: 3.261 MB / 1.299 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008944/1.252, allocations: 0.5423 MB / 1.299 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/1.253, allocations: 0.739 MB / 1.3 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/1.259, allocations: 3.393 MB / 1.303 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.259, allocations: 1 kB / 1.303 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.259, allocations: 0.7812 kB / 1.303 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.336e-05/1.259, allocations: 0 / 1.303 GB, free: 5.133 MB / 0.9981 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.003138/1.263, allocations: 1.747 MB / 1.305 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.263, allocations: 11.44 kB / 1.305 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.265, allocations: 371.2 kB / 1.305 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.266, allocations: 0.889 MB / 1.306 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/1.266, allocations: 79.94 kB / 1.306 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.266, allocations: 109.4 kB / 1.306 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/1.269, allocations: 1.533 MB / 1.308 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/1.269, allocations: 8.984 kB / 1.308 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.269, allocations: 48.03 kB / 1.308 GB, free: 19.47 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/1.269, allocations: 59.19 kB / 1.308 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.271, allocations: 1.024 MB / 1.309 GB, free: 19.46 MB / 1.014 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.007257/1.278, allocations: 5.959 MB / 1.315 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/1.279, allocations: 321 kB / 1.315 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/1.279, allocations: 249.5 kB / 1.315 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/1.28, allocations: 0.7039 MB / 1.316 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.28, allocations: 53.59 kB / 1.316 GB, free: 15.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/1.28, allocations: 0 / 1.316 GB, free: 15.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.00147/1.281, allocations: 0.6705 MB / 1.317 GB, free: 14.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/1.281, allocations: 135.3 kB / 1.317 GB, free: 14.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.284, allocations: 1.684 MB / 1.319 GB, free: 14.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.284, allocations: 34.89 kB / 1.319 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/1.284, allocations: 0.5572 MB / 1.319 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/1.284, allocations: 96.06 kB / 1.319 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.284, allocations: 65.95 kB / 1.319 GB, free: 14.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.284, allocations: 317.3 kB / 1.32 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/1.285, allocations: 159.1 kB / 1.32 GB, free: 14.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/1.285, allocations: 271.5 kB / 1.32 GB, free: 14.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/1.285, allocations: 402.5 kB / 1.32 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.285, allocations: 3.938 kB / 1.32 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006977/1.286, allocations: 0.5487 MB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.286, allocations: 9.109 kB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.286, allocations: 2.281 kB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/1.286, allocations: 6.438 kB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/1.286, allocations: 54.78 kB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.286, allocations: 5.656 kB / 1.321 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/1.287, allocations: 112.9 kB / 1.321 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/1.287, allocations: 22.47 kB / 1.321 GB, free: 13.77 MB / 1.014 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.0004982/1.288, allocations: 375.2 kB / 1.321 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.288, allocations: 145.5 kB / 1.322 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/1.288, allocations: 389.5 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/1.288, allocations: 2.562 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.288, allocations: 3.625 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.288, allocations: 3.234 kB / 1.322 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/1.292, allocations: 2.609 MB / 1.325 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.292, allocations: 5.5 kB / 1.325 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.292, allocations: 55.91 kB / 1.325 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.292, allocations: 11.53 kB / 1.325 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.292, allocations: 11.44 kB / 1.325 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.292, allocations: 14.23 kB / 1.325 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.292, allocations: 13.41 kB / 1.325 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/1.293, allocations: 0.6199 MB / 1.325 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/1.293, allocations: 290.4 kB / 1.326 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.294, allocations: 20.22 kB / 1.326 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/1.294, allocations: 13.56 kB / 1.326 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/1.294, allocations: 46.61 kB / 1.326 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.294, allocations: 17.06 kB / 1.326 GB, free: 11.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001378/1.295, allocations: 1.227 MB / 1.327 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.295, allocations: 0 / 1.327 GB, free: 11.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001225/1.297, allocations: 340 kB / 1.327 GB, free: 11.8 MB / 1.014 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.001659/1.298, allocations: 0.6197 MB / 1.328 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000553/1.299, allocations: 366.5 kB / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.299, allocations: 0 / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/1.299, allocations: 157.8 kB / 1.328 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.303, allocations: 0.9244 MB / 1.329 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/1.306, allocations: 2.42 MB / 1.331 GB, free: 10.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/1.306, allocations: 1.212 MB / 1.333 GB, free: 9.453 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00108/1.308, allocations: 292.1 kB / 1.333 GB, free: 9.398 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.308, allocations: 81.92 kB / 1.333 GB, free: 9.391 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.308, allocations: 0 / 1.333 GB, free: 9.391 MB / 1.014 GB Notification: Performance of Templates: time 0.05331/1.361, allocations: 30.14 MB / 1.362 GB, free: 15.09 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)