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.6821/0.6821, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008892/0.0008893, allocations: 183.2 kB / 187.3 MB, free: 11.9 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.256/1.256, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009219/0.000922, allocations: 97.67 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 266 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.351e-05, allocations: 11.98 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.357, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.601/3.958, allocations: 1.888 GB / 2.652 GB, free: 159.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/3.959, allocations: 88.52 kB / 2.653 GB, free: 159.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.408/6.367, allocations: 0.8009 GB / 3.453 GB, free: 107.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/6.367, allocations: 2.297 kB / 3.453 GB, free: 107.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.975e-05/6.367, allocations: 23.5 kB / 3.453 GB, free: 107.8 MB / 0.698 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.002217/6.369, allocations: 1.214 MB / 3.455 GB, free: 107.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/6.369, allocations: 7.656 kB / 3.455 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/6.369, allocations: 100.1 kB / 3.455 GB, free: 107.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/6.371, allocations: 276.6 kB / 3.455 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/6.373, allocations: 0.7522 MB / 3.456 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/6.373, allocations: 43.7 kB / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/6.373, allocations: 59.16 kB / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/6.374, allocations: 0.566 MB / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/6.374, allocations: 0 / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/6.374, allocations: 18.78 kB / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/6.374, allocations: 18.7 kB / 3.456 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/6.374, allocations: 0.5513 MB / 3.457 GB, free: 106.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003008/6.377, allocations: 2.668 MB / 3.46 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/6.378, allocations: 492.8 kB / 3.46 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/6.378, allocations: 327.1 kB / 3.46 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/6.379, allocations: 402.7 kB / 3.461 GB, free: 105.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/6.379, allocations: 44.95 kB / 3.461 GB, free: 105.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008948/6.38, allocations: 298.6 kB / 3.461 GB, free: 105.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.865e-06/6.38, allocations: 0 / 3.461 GB, free: 105.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.00123/6.381, allocations: 0.6982 MB / 3.462 GB, free: 105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/6.381, allocations: 55.16 kB / 3.462 GB, free: 104.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/6.382, allocations: 0.5528 MB / 3.462 GB, free: 104.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/6.382, allocations: 39.02 kB / 3.462 GB, free: 104.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/6.382, allocations: 347.7 kB / 3.463 GB, free: 104.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/6.382, allocations: 161.2 kB / 3.463 GB, free: 104.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/6.382, allocations: 6.844 kB / 3.463 GB, free: 104.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/6.382, allocations: 327.5 kB / 3.463 GB, free: 104.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/6.382, allocations: 216.2 kB / 3.463 GB, free: 104.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/6.383, allocations: 339.8 kB / 3.464 GB, free: 104.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/6.383, allocations: 265.1 kB / 3.464 GB, free: 104.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/6.383, allocations: 0 / 3.464 GB, free: 104.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009375/6.384, allocations: 0.6891 MB / 3.465 GB, free: 104 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/6.384, allocations: 275.1 kB / 3.465 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/6.384, allocations: 0 / 3.465 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/6.384, allocations: 69.05 kB / 3.465 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/6.385, allocations: 96.75 kB / 3.465 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003666/6.385, allocations: 0.633 MB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/6.386, allocations: 74.34 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/6.386, allocations: 24.7 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/6.386, allocations: 3.875 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008479/6.387, allocations: 0.5863 MB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/6.387, allocations: 7.234 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/6.387, allocations: 60.25 kB / 3.466 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/6.387, allocations: 103.8 kB / 3.467 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/6.389, allocations: 1.707 MB / 3.468 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007978/6.39, allocations: 76.38 kB / 3.468 GB, free: 101.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/6.39, allocations: 25.91 kB / 3.468 GB, free: 101.9 MB / 0.698 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 () * 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.0001647/6.39, allocations: 133.5 kB / 3.468 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/6.39, allocations: 76.09 kB / 3.468 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/6.391, allocations: 0.7532 MB / 3.469 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/6.391, allocations: 5.594 kB / 3.469 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/6.391, allocations: 0 / 3.469 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/6.391, allocations: 6.141 kB / 3.469 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/6.394, allocations: 1.668 MB / 3.471 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/6.394, allocations: 3.375 kB / 3.471 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004093/6.394, allocations: 91.81 kB / 3.471 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/6.394, allocations: 62.06 kB / 3.471 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/6.394, allocations: 20.48 kB / 3.471 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002659/6.395, allocations: 0.6002 MB / 3.472 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/6.395, allocations: 2.312 kB / 3.472 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/6.396, allocations: 1.232 MB / 3.473 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/6.396, allocations: 209.9 kB / 3.473 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.484e-05/6.396, allocations: 17.27 kB / 3.473 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/6.397, allocations: 90.41 kB / 3.473 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/6.397, allocations: 41.38 kB / 3.473 GB, free: 99.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/6.397, allocations: 23.52 kB / 3.473 GB, free: 99.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004492/6.398, allocations: 455.9 kB / 3.474 GB, free: 99.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.398, allocations: 0 / 3.474 GB, free: 99.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001769/6.399, allocations: 0.5983 MB / 3.474 GB, free: 99.82 MB / 0.698 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 () * 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.003951/6.403, allocations: 4.67 MB / 3.479 GB, free: 97.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001458/6.405, allocations: 0.9683 MB / 3.48 GB, free: 96.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/6.405, allocations: 3.938 kB / 3.48 GB, free: 96.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003865/6.405, allocations: 276 kB / 3.48 GB, free: 96.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/6.408, allocations: 0.5066 MB / 3.48 GB, free: 96.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/6.412, allocations: 1.693 MB / 3.482 GB, free: 96.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/6.413, allocations: 0.9917 MB / 3.483 GB, free: 95.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001114/6.414, allocations: 299.3 kB / 3.483 GB, free: 95.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/6.414, allocations: 268.5 kB / 3.484 GB, free: 95.21 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/6.414, allocations: 0 / 3.484 GB, free: 95.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07706/6.491, allocations: 61.66 MB / 3.544 GB, free: 41.08 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/6.491, allocations: 250 kB / 3.544 GB, free: 40.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/10.37, allocations: 0 / 3.544 GB, free: 40.75 MB / 0.698 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)