Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 184.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.827e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2865, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.423, allocations: 1.927 GB / 3.133 GB, free: 351 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/5.423, allocations: 89.28 kB / 3.133 GB, free: 351 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.016/7.44, allocations: 0.7922 GB / 3.926 GB, free: 14.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/7.44, allocations: 0 / 3.926 GB, free: 14.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.752e-05/7.44, allocations: 27.98 kB / 3.926 GB, free: 14.57 MB / 1.151 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.002345/7.442, allocations: 1.223 MB / 3.927 GB, free: 13.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/7.442, allocations: 12.02 kB / 3.927 GB, free: 13.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/7.444, allocations: 280.7 kB / 3.927 GB, free: 13.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/7.445, allocations: 0.7536 MB / 3.928 GB, free: 12.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/7.445, allocations: 19.95 kB / 3.928 GB, free: 12.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/7.445, allocations: 32 kB / 3.928 GB, free: 12.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007567/7.446, allocations: 0.5337 MB / 3.928 GB, free: 11.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/7.447, allocations: 0.5076 MB / 3.929 GB, free: 11.12 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/7.447, allocations: 0 / 3.929 GB, free: 11.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/7.447, allocations: 4 kB / 3.929 GB, free: 11.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/7.447, allocations: 12 kB / 3.929 GB, free: 11.11 MB / 1.151 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.002881/7.45, allocations: 2.539 MB / 3.931 GB, free: 8.348 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/7.451, allocations: 491.6 kB / 3.932 GB, free: 7.859 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/7.451, allocations: 309.4 kB / 3.932 GB, free: 7.555 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/7.451, allocations: 408.7 kB / 3.932 GB, free: 7.082 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/7.451, allocations: 38.88 kB / 3.933 GB, free: 7.035 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008699/7.452, allocations: 295.3 kB / 3.933 GB, free: 6.746 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/7.452, allocations: 0 / 3.933 GB, free: 6.746 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001524/7.454, allocations: 0.7638 MB / 3.934 GB, free: 5.973 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/7.454, allocations: 56.22 kB / 3.934 GB, free: 5.906 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/7.454, allocations: 467.8 kB / 3.934 GB, free: 5.441 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/7.454, allocations: 25.7 kB / 3.934 GB, free: 5.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/7.455, allocations: 348.9 kB / 3.934 GB, free: 5.062 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/7.455, allocations: 149.6 kB / 3.935 GB, free: 4.914 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/7.455, allocations: 0 / 3.935 GB, free: 4.914 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/7.455, allocations: 374.8 kB / 3.935 GB, free: 4.539 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/7.455, allocations: 216.8 kB / 3.935 GB, free: 4.328 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/7.455, allocations: 331.8 kB / 3.935 GB, free: 3.961 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005548/7.456, allocations: 324.5 kB / 3.936 GB, free: 3.645 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/7.456, allocations: 4 kB / 3.936 GB, free: 3.641 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001158/7.457, allocations: 0.7457 MB / 3.936 GB, free: 2.887 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/7.457, allocations: 270.5 kB / 3.937 GB, free: 2.605 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/7.457, allocations: 0 / 3.937 GB, free: 2.605 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/7.457, allocations: 64.78 kB / 3.937 GB, free: 2.539 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/7.458, allocations: 95.86 kB / 3.937 GB, free: 2.445 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/7.458, allocations: 0.6422 MB / 3.938 GB, free: 1.777 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/7.459, allocations: 67.81 kB / 3.938 GB, free: 1.711 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/7.459, allocations: 27.97 kB / 3.938 GB, free: 1.684 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/7.459, allocations: 4 kB / 3.938 GB, free: 1.68 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/7.46, allocations: 0.616 MB / 3.938 GB, free: 1.059 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/7.46, allocations: 4 kB / 3.938 GB, free: 1.055 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/7.46, allocations: 56.77 kB / 3.938 GB, free: 0.9961 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/7.461, allocations: 103.8 kB / 3.938 GB, free: 0.8945 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6853/8.146, allocations: 1.645 MB / 3.94 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/8.147, allocations: 60.86 kB / 3.94 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/8.147, allocations: 23.86 kB / 3.94 GB, free: 229.2 MB / 1.151 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.0001844/8.147, allocations: 121.6 kB / 3.94 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001654/8.149, allocations: 0.7009 MB / 3.941 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/8.149, allocations: 67.97 kB / 3.941 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/8.151, allocations: 0.7814 MB / 3.942 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/8.151, allocations: 4.531 kB / 3.942 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/8.151, allocations: 1.188 kB / 3.942 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/8.151, allocations: 3.5 kB / 3.942 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/8.154, allocations: 1.605 MB / 3.943 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/8.154, allocations: 3.125 kB / 3.943 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/8.155, allocations: 96.33 kB / 3.943 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/8.155, allocations: 51.11 kB / 3.943 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/8.155, allocations: 11.59 kB / 3.943 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003121/8.155, allocations: 0.6059 MB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/8.155, allocations: 2.75 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/8.157, allocations: 1.243 MB / 3.945 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/8.157, allocations: 201.1 kB / 3.945 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.016e-05/8.157, allocations: 5.984 kB / 3.945 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/8.158, allocations: 93.2 kB / 3.946 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/8.158, allocations: 40 kB / 3.946 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/8.158, allocations: 20.25 kB / 3.946 GB, free: 227.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004236/8.159, allocations: 365.6 kB / 3.946 GB, free: 227.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.159, allocations: 0 / 3.946 GB, free: 227.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001869/8.161, allocations: 0.5285 MB / 3.946 GB, free: 227.4 MB / 1.151 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.00506/8.166, allocations: 4.936 MB / 3.951 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00165/8.167, allocations: 0.9201 MB / 3.952 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/8.167, allocations: 1.219 kB / 3.952 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/8.168, allocations: 267.5 kB / 3.952 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/8.17, allocations: 460.7 kB / 3.953 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/8.176, allocations: 1.635 MB / 3.954 GB, free: 224.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005846/8.176, allocations: 0.9927 MB / 3.955 GB, free: 223.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001236/8.178, allocations: 258 kB / 3.956 GB, free: 223.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/8.178, allocations: 270.5 kB / 3.956 GB, free: 223.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/8.178, allocations: 2.625 kB / 3.956 GB, free: 223.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/8.249, allocations: 37.73 MB / 3.993 GB, free: 223.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/8.249, allocations: 191.7 kB / 3.993 GB, free: 222.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.259/11.51, allocations: 0 / 3.993 GB, free: 222.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat