Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.0009369/0.0009364, allocations: 90.75 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.001203/0.001202, 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.628/1.628, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.257/1.257, allocations: 143.4 MB / 434.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 11.98 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 83.42 MB / 0.5975 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.6661/0.8957, allocations: 146.7 MB / 0.7407 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.8992, allocations: 1.607 MB / 0.7423 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.8995, allocations: 7.25 kB / 0.7423 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.9001, allocations: 113.8 kB / 0.7424 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.9013, allocations: 388 kB / 0.7428 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.9025, allocations: 358.6 kB / 0.7431 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009045/0.9035, allocations: 0.6521 MB / 0.7438 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.9038, allocations: 125.3 kB / 0.7439 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.9044, allocations: 272.1 kB / 0.7442 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.9047, allocations: 151.3 kB / 0.7443 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.9047, allocations: 6.625 kB / 0.7443 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.9058, allocations: 0.5262 MB / 0.7448 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.9059, allocations: 68.91 kB / 0.7449 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.906, allocations: 69.11 kB / 0.745 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005738/0.9066, allocations: 340.5 kB / 0.7453 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.9066, allocations: 0 / 0.7453 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9066, allocations: 0 / 0.7453 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.9067, allocations: 1.219 kB / 0.7453 GB, free: 4.285 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008465/0.9075, allocations: 0.5432 MB / 0.7458 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9076, allocations: 8.906 kB / 0.7458 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.9076, allocations: 47.12 kB / 0.7459 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.908, allocations: 58.72 kB / 0.7459 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.9084, allocations: 287.2 kB / 0.7462 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.9084, allocations: 12 kB / 0.7462 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.9085, allocations: 17.62 kB / 0.7462 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.9089, allocations: 195.7 kB / 0.7464 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.9089, allocations: 0 / 0.7464 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.9089, allocations: 6 kB / 0.7464 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.909, allocations: 4.125 kB / 0.7464 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.9093, allocations: 143.1 kB / 0.7466 GB, free: 3.332 MB / 0.5606 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.001065/0.9104, allocations: 0.7959 MB / 0.7473 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.9106, allocations: 90.53 kB / 0.7474 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.9108, allocations: 81.89 kB / 0.7475 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.9111, allocations: 186.2 kB / 0.7477 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.9112, allocations: 35.06 kB / 0.7477 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.9112, allocations: 0 / 0.7477 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006521/0.9118, allocations: 234.2 kB / 0.7479 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.9119, allocations: 55.34 kB / 0.748 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.9121, allocations: 271 kB / 0.7482 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.9122, allocations: 25.7 kB / 0.7483 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.9123, allocations: 140 kB / 0.7484 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.9124, allocations: 39.39 kB / 0.7484 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.9124, allocations: 8 kB / 0.7484 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9125, allocations: 334.8 kB / 0.7488 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.9126, allocations: 43.95 kB / 0.7488 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.9128, allocations: 101.4 kB / 0.7489 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.9129, allocations: 51.97 kB / 0.749 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.9129, allocations: 0 / 0.749 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003086/0.9133, allocations: 165.3 kB / 0.7491 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.9133, allocations: 112.2 kB / 0.7492 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9133, allocations: 4.031 kB / 0.7492 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9134, allocations: 4 kB / 0.7492 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.9135, allocations: 20.55 kB / 0.7492 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.9135, allocations: 9.078 kB / 0.7493 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.9137, allocations: 23.89 kB / 0.7493 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.9137, allocations: 7.938 kB / 0.7493 GB, free: 488 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.9137, allocations: 11.95 kB / 0.7493 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000255/0.914, allocations: 116.9 kB / 0.7494 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.914, allocations: 0 / 0.7494 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.914, allocations: 7.984 kB / 0.7494 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.9141, allocations: 28.02 kB / 0.7494 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.9141, allocations: 7.875 kB / 0.7495 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.9143, allocations: 27.83 kB / 0.7495 GB, free: 288 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.9143, allocations: 4 kB / 0.7495 GB, free: 284 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001577/0.9145, allocations: 213.1 kB / 0.7497 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.9145, allocations: 28.17 kB / 0.7497 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.9149, allocations: 171.4 kB / 0.7499 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9149, allocations: 4 kB / 0.7499 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9149, allocations: 0 / 0.7499 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9149, allocations: 0 / 0.7499 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/0.9158, allocations: 0.6062 MB / 0.7505 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9158, allocations: 4 kB / 0.7505 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.9159, allocations: 28.2 kB / 0.7505 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.9159, allocations: 0 / 0.7505 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9159, allocations: 4 kB / 0.7505 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.916, allocations: 9.188 kB / 0.7505 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.916, allocations: 0 / 0.7505 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.9163, allocations: 309.3 kB / 0.7508 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.9164, allocations: 112.8 kB / 0.7509 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.9165, allocations: 4 kB / 0.7509 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.9167, allocations: 27.91 kB / 0.7509 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.9167, allocations: 11.95 kB / 0.751 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.9168, allocations: 7.984 kB / 0.751 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001768/0.9169, allocations: 194 kB / 0.7512 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9169, allocations: 0 / 0.7512 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004935/0.9174, allocations: 91.84 kB / 0.7512 GB, free: 14.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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.0009429/0.9184, allocations: 0.9154 MB / 0.7521 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.9188, allocations: 171.8 kB / 0.7523 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9189, allocations: 0 / 0.7523 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.919, allocations: 68.47 kB / 0.7524 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007783/0.9198, allocations: 132.6 kB / 0.7525 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.9218, allocations: 1.335 MB / 0.7538 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.9222, allocations: 0.756 MB / 0.7545 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002317/0.9224, allocations: 71.42 kB / 0.7546 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.9225, allocations: 67.41 kB / 0.7547 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.9225, allocations: 0 / 0.7547 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.9413, allocations: 6.581 MB / 0.7611 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.9415, allocations: 244.7 kB / 0.7613 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.152, allocations: 0 / 0.7613 GB, free: 4.129 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: