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.164/2.164, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001032/0.001032, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.504/1.504, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 99.66 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.228e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.286, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.766, allocations: 1.928 GB / 3.14 GB, free: 341.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/5.766, allocations: 95.27 kB / 3.14 GB, free: 341.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.222/8.988, allocations: 0.801 GB / 3.941 GB, free: 228.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.865e-06/8.988, allocations: 1.188 kB / 3.941 GB, free: 228.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001605/8.989, allocations: 31.94 kB / 3.941 GB, free: 228.5 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.003949/8.993, allocations: 1.214 MB / 3.943 GB, free: 228.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/8.993, allocations: 10.44 kB / 3.943 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/8.993, allocations: 90.75 kB / 3.943 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/8.995, allocations: 281.1 kB / 3.943 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/8.997, allocations: 0.7542 MB / 3.944 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/8.998, allocations: 43.38 kB / 3.944 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/8.998, allocations: 59.11 kB / 3.944 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/8.999, allocations: 0.5702 MB / 3.944 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/8.999, allocations: 0 / 3.944 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/8.999, allocations: 21.97 kB / 3.944 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/8.999, allocations: 11.41 kB / 3.944 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/9, allocations: 0.5506 MB / 3.945 GB, free: 227.7 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.004695/9.005, allocations: 2.671 MB / 3.948 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/9.006, allocations: 496.3 kB / 3.948 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/9.006, allocations: 318.7 kB / 3.948 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/9.007, allocations: 401 kB / 3.949 GB, free: 226.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/9.007, allocations: 38.16 kB / 3.949 GB, free: 226 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001263/9.008, allocations: 309.9 kB / 3.949 GB, free: 226 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 5.3e-06/9.008, allocations: 0 / 3.949 GB, free: 226 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001688/9.01, allocations: 0.7064 MB / 3.95 GB, free: 225.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/9.01, allocations: 55.5 kB / 3.95 GB, free: 225.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/9.011, allocations: 0.5599 MB / 3.95 GB, free: 225.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/9.011, allocations: 33.02 kB / 3.95 GB, free: 225.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/9.012, allocations: 347.5 kB / 3.951 GB, free: 225.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/9.012, allocations: 154.6 kB / 3.951 GB, free: 225.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/9.012, allocations: 10.06 kB / 3.951 GB, free: 225.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/9.012, allocations: 326.1 kB / 3.951 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/9.012, allocations: 213.9 kB / 3.951 GB, free: 225.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/9.013, allocations: 346.2 kB / 3.952 GB, free: 225.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/9.013, allocations: 257.6 kB / 3.952 GB, free: 225.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/9.013, allocations: 0 / 3.952 GB, free: 225.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001324/9.014, allocations: 0.7026 MB / 3.953 GB, free: 225 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/9.015, allocations: 272.3 kB / 3.953 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/9.015, allocations: 0 / 3.953 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/9.015, allocations: 68.55 kB / 3.953 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/9.015, allocations: 95.72 kB / 3.953 GB, free: 224.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004677/9.016, allocations: 0.6361 MB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/9.017, allocations: 63.27 kB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/9.017, allocations: 28.97 kB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/9.017, allocations: 4.719 kB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001152/9.018, allocations: 0.5852 MB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/9.018, allocations: 1.969 kB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/9.018, allocations: 59.94 kB / 3.954 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/9.019, allocations: 96.94 kB / 3.955 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/9.021, allocations: 1.723 MB / 3.956 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/9.022, allocations: 71.19 kB / 3.956 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-05/9.022, allocations: 27 kB / 3.956 GB, free: 222.8 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.0001925/9.022, allocations: 127.6 kB / 3.956 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/9.022, allocations: 84.06 kB / 3.957 GB, free: 222.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/9.024, allocations: 0.7481 MB / 3.957 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/9.024, allocations: 7.625 kB / 3.957 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/9.024, allocations: 3.844 kB / 3.957 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/9.024, allocations: 2.531 kB / 3.957 GB, free: 222.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/9.027, allocations: 1.668 MB / 3.959 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/9.027, allocations: 3.969 kB / 3.959 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/9.027, allocations: 91.42 kB / 3.959 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/9.028, allocations: 62.56 kB / 3.959 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/9.028, allocations: 14.61 kB / 3.959 GB, free: 222.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003222/9.028, allocations: 0.6114 MB / 3.96 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/9.028, allocations: 3.875 kB / 3.96 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/9.03, allocations: 1.219 MB / 3.961 GB, free: 221.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/9.03, allocations: 206.6 kB / 3.961 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/9.03, allocations: 17.64 kB / 3.961 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008682/9.031, allocations: 93.94 kB / 3.961 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/9.031, allocations: 42.23 kB / 3.961 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/9.031, allocations: 15.09 kB / 3.961 GB, free: 221 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006208/9.032, allocations: 456.1 kB / 3.962 GB, free: 220.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/9.032, allocations: 0 / 3.962 GB, free: 220.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002464/9.034, allocations: 0.5961 MB / 3.962 GB, free: 220.9 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.005806/9.04, allocations: 4.657 MB / 3.967 GB, free: 218.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001889/9.042, allocations: 0.9677 MB / 3.968 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/9.042, allocations: 0 / 3.968 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/9.043, allocations: 279.6 kB / 3.968 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/9.045, allocations: 0.5186 MB / 3.968 GB, free: 218.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/9.052, allocations: 1.705 MB / 3.97 GB, free: 217.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/9.053, allocations: 0.9866 MB / 3.971 GB, free: 217.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001792/9.055, allocations: 294 kB / 3.971 GB, free: 217.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/9.055, allocations: 271.4 kB / 3.972 GB, free: 217.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/9.055, allocations: 1.312 kB / 3.972 GB, free: 217.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/9.157, allocations: 61.67 MB / 4.032 GB, free: 216.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/9.158, allocations: 255.5 kB / 4.032 GB, free: 216 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.329/13.49, allocations: 0 / 4.032 GB, free: 216 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