Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.001187/0.001187, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001166/0.001166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.751/2.751, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.516/4.516, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006632/0.0006633, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429/1.43, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.4079/1.838, allocations: 196.6 MB / 1.173 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02123/1.859, allocations: 7.236 MB / 1.18 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/1.862, allocations: 43.69 kB / 1.18 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004877/1.867, allocations: 0.6688 MB / 1.181 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/1.879, allocations: 1.943 MB / 1.183 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.009426/1.889, allocations: 1.608 MB / 1.184 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005571/1.894, allocations: 1.202 MB / 1.185 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/1.897, allocations: 0.6444 MB / 1.186 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005798/1.903, allocations: 1.192 MB / 1.187 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/1.905, allocations: 490.1 kB / 1.188 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006229/1.905, allocations: 44 kB / 1.188 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/1.911, allocations: 0.784 MB / 1.188 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008315/1.912, allocations: 243.3 kB / 1.189 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.913, allocations: 197.2 kB / 1.189 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00313/1.916, allocations: 1.001 MB / 1.19 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/1.916, allocations: 4 kB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.806e-06/1.916, allocations: 3.938 kB / 1.19 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.145e-05/1.916, allocations: 0 / 1.19 GB, free: 15.87 MB / 0.9512 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.004084/1.92, allocations: 1.106 MB / 1.191 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.254e-05/1.92, allocations: 15.97 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003432/1.921, allocations: 94.52 kB / 1.191 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/1.924, allocations: 290.6 kB / 1.191 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/1.926, allocations: 0.6366 MB / 1.192 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/1.926, allocations: 44.95 kB / 1.192 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.927, allocations: 51.98 kB / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.928, allocations: 0.6076 MB / 1.192 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.929, allocations: 0 / 1.192 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.544e-05/1.929, allocations: 20 kB / 1.193 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/1.929, allocations: 15.98 kB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/1.931, allocations: 0.6246 MB / 1.193 GB, free: 12.26 MB / 0.9512 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.006687/1.937, allocations: 2.625 MB / 1.196 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.939, allocations: 0.5008 MB / 1.196 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/1.94, allocations: 141.4 kB / 1.196 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/1.94, allocations: 42.94 kB / 1.196 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/1.941, allocations: 187.4 kB / 1.197 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 5.26e-06/1.941, allocations: 0 / 1.197 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.004575/1.945, allocations: 1.117 MB / 1.198 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/1.946, allocations: 63.09 kB / 1.198 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.947, allocations: 0.6413 MB / 1.198 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/1.947, allocations: 41.69 kB / 1.198 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/1.948, allocations: 345.1 kB / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/1.948, allocations: 161.7 kB / 1.199 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/1.948, allocations: 8 kB / 1.199 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003295/1.948, allocations: 322 kB / 1.199 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/1.949, allocations: 228.7 kB / 1.199 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.95, allocations: 312.4 kB / 1.2 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/1.951, allocations: 260.6 kB / 1.2 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.951, allocations: 0 / 1.2 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002805/1.954, allocations: 0.7262 MB / 1.201 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004259/1.954, allocations: 275.1 kB / 1.201 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.954, allocations: 4 kB / 1.201 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/1.955, allocations: 88.75 kB / 1.201 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/1.956, allocations: 103.9 kB / 1.201 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/1.957, allocations: 0.6147 MB / 1.202 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.958, allocations: 70.84 kB / 1.202 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/1.959, allocations: 23.98 kB / 1.202 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.959, allocations: 0 / 1.202 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001857/1.96, allocations: 0.5966 MB / 1.202 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-05/1.96, allocations: 4 kB / 1.202 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/1.961, allocations: 60.77 kB / 1.202 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.962, allocations: 99.89 kB / 1.203 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.965, allocations: 1.717 MB / 1.204 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/1.966, allocations: 60 kB / 1.204 GB, free: 344 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/1.966, allocations: 23.92 kB / 1.204 GB, free: 320 kB / 0.9512 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.0007853/1.967, allocations: 294.2 kB / 1.205 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.967, allocations: 79.11 kB / 1.205 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.97, allocations: 0.7819 MB / 1.205 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.97, allocations: 4 kB / 1.205 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.97, allocations: 0 / 1.205 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.97, allocations: 3.984 kB / 1.205 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005355/1.975, allocations: 1.673 MB / 1.207 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.975, allocations: 4 kB / 1.207 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/1.976, allocations: 87.89 kB / 1.207 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/1.976, allocations: 81.12 kB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/1.977, allocations: 15.95 kB / 1.207 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008933/1.977, allocations: 0.607 MB / 1.208 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/1.977, allocations: 7.938 kB / 1.208 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/1.981, allocations: 1.343 MB / 1.209 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/1.982, allocations: 204.1 kB / 1.209 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.982, allocations: 12 kB / 1.209 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.983, allocations: 71.78 kB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.984, allocations: 43.91 kB / 1.209 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/1.984, allocations: 23.92 kB / 1.209 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001105/1.985, allocations: 459 kB / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.51e-07/1.985, allocations: 0 / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001975/1.987, allocations: 375.4 kB / 1.21 GB, free: 9.867 MB / 0.9669 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 (42): * Single equations (assignments): 41 * 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.005128/1.992, allocations: 2.879 MB / 1.213 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003826/1.996, allocations: 0.9903 MB / 1.214 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.996, allocations: 0 / 1.214 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.997, allocations: 315.8 kB / 1.214 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/2.001, allocations: 451.1 kB / 1.215 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/2.019, allocations: 5.209 MB / 1.22 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/2.021, allocations: 0.9814 MB / 1.221 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001964/2.023, allocations: 222 kB / 1.221 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/2.023, allocations: 285.8 kB / 1.221 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of SimCode: time 2.314e-06/2.023, allocations: 0 / 1.221 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09012/2.113, allocations: 22.61 MB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004868/2.114, allocations: 281.4 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.163/6.278, allocations: 0 / 1.244 GB, free: 7.797 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat does not exist to compare? outputFormat=mat