Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.0008465/0.0008466, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005085/0.005085, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 292.7 MB / 0.5502 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 16.72 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02841/0.2024, allocations: 32.55 MB / 0.8198 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2134, allocations: 9.689 MB / 0.8292 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.2141, allocations: 27.81 kB / 0.8293 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008422/0.215, allocations: 326.1 kB / 0.8296 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.2177, allocations: 1.282 MB / 0.8308 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.2196, allocations: 0.8447 MB / 0.8317 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2222, allocations: 2.649 MB / 0.8342 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.2229, allocations: 0.5142 MB / 0.8347 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/0.2242, allocations: 0.8439 MB / 0.8356 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.2248, allocations: 0.6067 MB / 0.8362 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.2249, allocations: 32 kB / 0.8362 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.2268, allocations: 1.251 MB / 0.8374 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.227, allocations: 147.2 kB / 0.8375 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.2273, allocations: 423.6 kB / 0.838 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.2291, allocations: 1.589 MB / 0.8395 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2291, allocations: 0 / 0.8395 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2291, allocations: 0 / 0.8395 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.2291, allocations: 0 / 0.8395 GB, free: 6.484 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001814/0.2309, allocations: 1.094 MB / 0.8406 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.231, allocations: 8.031 kB / 0.8406 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.966e-05/0.2311, allocations: 86.7 kB / 0.8407 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.2312, allocations: 87.91 kB / 0.8407 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.2322, allocations: 0.648 MB / 0.8414 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2322, allocations: 33 kB / 0.8414 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.2323, allocations: 52 kB / 0.8415 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.233, allocations: 442.4 kB / 0.8419 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.233, allocations: 0 / 0.8419 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.2331, allocations: 20 kB / 0.8419 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2331, allocations: 11.94 kB / 0.8419 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.2338, allocations: 379.8 kB / 0.8423 GB, free: 3.535 MB / 0.6544 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.00344/0.2373, allocations: 2.791 MB / 0.845 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.238, allocations: 383.7 kB / 0.8454 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.2383, allocations: 157.1 kB / 0.8455 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.2394, allocations: 1.433 MB / 0.8469 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2394, allocations: 38.84 kB / 0.847 GB, free: 14.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.2394, allocations: 3.938 kB / 0.847 GB, free: 14.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.0009716/0.2404, allocations: 0.5026 MB / 0.8474 GB, free: 13.62 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.2405, allocations: 55.41 kB / 0.8475 GB, free: 13.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.2413, allocations: 0.7351 MB / 0.8482 GB, free: 12.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.2414, allocations: 41.64 kB / 0.8483 GB, free: 12.76 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.2416, allocations: 332.2 kB / 0.8486 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/0.2417, allocations: 126.1 kB / 0.8487 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.2418, allocations: 41.69 kB / 0.8487 GB, free: 12.26 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.2419, allocations: 329.9 kB / 0.849 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.2422, allocations: 132.7 kB / 0.8492 GB, free: 11.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.2425, allocations: 209.3 kB / 0.8494 GB, free: 11.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.2431, allocations: 342.1 kB / 0.8497 GB, free: 11.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2431, allocations: 4 kB / 0.8497 GB, free: 11.22 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007903/0.2439, allocations: 474 kB / 0.8502 GB, free: 10.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.244, allocations: 132.6 kB / 0.8503 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.244, allocations: 7.984 kB / 0.8503 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.244, allocations: 11.88 kB / 0.8503 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.2445, allocations: 103.9 kB / 0.8504 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003511/0.2449, allocations: 0.5977 MB / 0.851 GB, free: 9.859 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.2453, allocations: 67.47 kB / 0.851 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/0.2454, allocations: 23.98 kB / 0.8511 GB, free: 9.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.2454, allocations: 4 kB / 0.8511 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006953/0.2461, allocations: 375.4 kB / 0.8514 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2461, allocations: 4 kB / 0.8514 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-06/0.2461, allocations: 0 / 0.8514 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.2464, allocations: 100 kB / 0.8515 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2464, allocations: 11.88 kB / 0.8515 GB, free: 9.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.2468, allocations: 63.5 kB / 0.8516 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.2469, allocations: 19.98 kB / 0.8516 GB, free: 9.203 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.2472, allocations: 269 kB / 0.8519 GB, free: 8.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.2473, allocations: 75.06 kB / 0.852 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.2487, allocations: 0.8237 MB / 0.8528 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.2487, allocations: 19.92 kB / 0.8528 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2487, allocations: 0 / 0.8528 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2488, allocations: 0 / 0.8528 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.2507, allocations: 1.462 MB / 0.8542 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.2507, allocations: 7.984 kB / 0.8542 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.251, allocations: 91.97 kB / 0.8543 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.251, allocations: 0 / 0.8543 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.2511, allocations: 16 kB / 0.8543 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002484/0.2513, allocations: 0.586 MB / 0.8549 GB, free: 5.777 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2513, allocations: 3.969 kB / 0.8549 GB, free: 5.773 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.2527, allocations: 1.012 MB / 0.8559 GB, free: 4.734 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.2529, allocations: 247.8 kB / 0.8561 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.253, allocations: 11.98 kB / 0.8561 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.2534, allocations: 27.98 kB / 0.8562 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.2535, allocations: 48.31 kB / 0.8562 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.2536, allocations: 27.92 kB / 0.8562 GB, free: 4.359 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006466/0.2542, allocations: 0.5186 MB / 0.8567 GB, free: 3.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2542, allocations: 0 / 0.8567 GB, free: 3.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009997/0.2553, allocations: 459.5 kB / 0.8572 GB, free: 3.395 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * 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 (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/0.2576, allocations: 1.901 MB / 0.859 GB, free: 1.457 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.2589, allocations: 0.7488 MB / 0.8598 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2589, allocations: 4.562 kB / 0.8598 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004934/0.2594, allocations: 353.9 kB / 0.8601 GB, free: 328 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.2612, allocations: 382.8 kB / 0.8605 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008546/0.2698, allocations: 6.604 MB / 0.8669 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2702, allocations: 0.9353 MB / 0.8678 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005988/0.2708, allocations: 213.4 kB / 0.868 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.2712, allocations: 304 kB / 0.8683 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.2712, allocations: 0 / 0.8683 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/1.645, allocations: 26.41 MB / 0.8941 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.645, allocations: 293.3 kB / 0.8944 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/4.236, allocations: 5.438 kB / 0.8944 GB, free: 13.46 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)