Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8877/0.8877, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 181.1 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.000975, allocations: 100.2 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 265.7 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 16.81 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.334/4.489, allocations: 1.888 GB / 2.662 GB, free: 190 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/4.489, allocations: 94.66 kB / 2.662 GB, free: 189.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.793/7.282, allocations: 0.8017 GB / 3.464 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/7.282, allocations: 0 / 3.464 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.725e-05/7.282, allocations: 27.08 kB / 3.464 GB, free: 107.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003517/7.286, allocations: 1.383 MB / 3.465 GB, free: 107 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/7.286, allocations: 10.72 kB / 3.465 GB, free: 107 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/7.286, allocations: 90.09 kB / 3.465 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/7.288, allocations: 277.6 kB / 3.465 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/7.29, allocations: 0.7504 MB / 3.466 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/7.29, allocations: 48.75 kB / 3.466 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/7.29, allocations: 57.59 kB / 3.466 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/7.291, allocations: 0.6171 MB / 3.467 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/7.291, allocations: 0 / 3.467 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/7.291, allocations: 17.91 kB / 3.467 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/7.291, allocations: 14.08 kB / 3.467 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/7.292, allocations: 0.6269 MB / 3.467 GB, free: 106.6 MB / 0.7136 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.003616/7.296, allocations: 2.67 MB / 3.47 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009885/7.297, allocations: 0.5328 MB / 3.471 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/7.297, allocations: 395.2 kB / 3.471 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/7.297, allocations: 37.91 kB / 3.471 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009365/7.298, allocations: 307.4 kB / 3.471 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.395e-06/7.298, allocations: 2.312 kB / 3.471 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002382/7.301, allocations: 1.164 MB / 3.472 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/7.301, allocations: 57.66 kB / 3.473 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/7.301, allocations: 0.5671 MB / 3.473 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/7.301, allocations: 36.55 kB / 3.473 GB, free: 104.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/7.302, allocations: 341.7 kB / 3.473 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/7.302, allocations: 159.8 kB / 3.474 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/7.302, allocations: 11.38 kB / 3.474 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/7.302, allocations: 321.6 kB / 3.474 GB, free: 104 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/7.302, allocations: 257.2 kB / 3.474 GB, free: 104 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/7.303, allocations: 377 kB / 3.474 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/7.303, allocations: 296.1 kB / 3.475 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/7.303, allocations: 0 / 3.475 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001293/7.305, allocations: 0.7726 MB / 3.476 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/7.305, allocations: 271.5 kB / 3.476 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/7.305, allocations: 3.969 kB / 3.476 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/7.305, allocations: 65.84 kB / 3.476 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/7.305, allocations: 99 kB / 3.476 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004359/7.306, allocations: 0.6378 MB / 3.477 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007422/7.307, allocations: 71.59 kB / 3.477 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/7.307, allocations: 25.88 kB / 3.477 GB, free: 103 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/7.307, allocations: 4.844 kB / 3.477 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/7.308, allocations: 0.6529 MB / 3.477 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/7.308, allocations: 3.609 kB / 3.477 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/7.308, allocations: 63.88 kB / 3.477 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/7.309, allocations: 99.61 kB / 3.477 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/7.31, allocations: 1.735 MB / 3.479 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007653/7.311, allocations: 78.03 kB / 3.479 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/7.311, allocations: 30.25 kB / 3.479 GB, free: 101.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004213/7.311, allocations: 297.2 kB / 3.48 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/7.312, allocations: 71.31 kB / 3.48 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/7.313, allocations: 0.8217 MB / 3.48 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/7.313, allocations: 3.906 kB / 3.48 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/7.313, allocations: 5.625 kB / 3.48 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/7.313, allocations: 3.844 kB / 3.48 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/7.316, allocations: 1.734 MB / 3.482 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/7.316, allocations: 2.406 kB / 3.482 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/7.316, allocations: 98.84 kB / 3.482 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/7.317, allocations: 54.05 kB / 3.482 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/7.317, allocations: 21.42 kB / 3.482 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003431/7.317, allocations: 0.6075 MB / 3.483 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/7.317, allocations: 3.469 kB / 3.483 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/7.319, allocations: 1.339 MB / 3.484 GB, free: 99.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/7.319, allocations: 205.3 kB / 3.484 GB, free: 99.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/7.319, allocations: 14.47 kB / 3.484 GB, free: 99.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/7.32, allocations: 95.88 kB / 3.484 GB, free: 99.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/7.32, allocations: 38.95 kB / 3.485 GB, free: 99.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/7.32, allocations: 22.08 kB / 3.485 GB, free: 99.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005546/7.321, allocations: 463.2 kB / 3.485 GB, free: 99.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.5e-07/7.321, allocations: 3.25 kB / 3.485 GB, free: 99.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002231/7.323, allocations: 0.5936 MB / 3.486 GB, free: 99.54 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005204/7.328, allocations: 4.783 MB / 3.49 GB, free: 97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001964/7.33, allocations: 1.053 MB / 3.491 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/7.33, allocations: 0 / 3.491 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005271/7.331, allocations: 328.5 kB / 3.492 GB, free: 96.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/7.333, allocations: 0.5079 MB / 3.492 GB, free: 96.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009847/7.343, allocations: 5.321 MB / 3.497 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/7.343, allocations: 0.9903 MB / 3.498 GB, free: 94.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001086/7.345, allocations: 233.3 kB / 3.498 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/7.345, allocations: 285.1 kB / 3.499 GB, free: 94.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/7.345, allocations: 3.344 kB / 3.499 GB, free: 94.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08778/7.433, allocations: 55 MB / 3.552 GB, free: 91.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/7.433, allocations: 284.3 kB / 3.553 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/11.32, allocations: 0 / 3.553 GB, free: 90.77 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)