Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",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.004852/0.004852, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001297/0.001297, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002543/0.002543, allocations: 293.6 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 178.6 MB / 0.5074 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 99.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3904, allocations: 89.13 MB / 0.7813 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6418/1.032, allocations: 237.5 MB / 1.013 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01841/1.051, allocations: 15.78 MB / 1.029 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/1.053, allocations: 65.09 kB / 1.029 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/1.056, allocations: 1.036 MB / 1.03 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007683/1.064, allocations: 2.986 MB / 1.033 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/1.068, allocations: 1.679 MB / 1.034 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005071/1.073, allocations: 3.44 MB / 1.038 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/1.075, allocations: 1.291 MB / 1.039 GB, free: 1.398 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/1.081, allocations: 2.497 MB / 1.041 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/1.083, allocations: 1.074 MB / 1.042 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/1.083, allocations: 116.8 kB / 1.043 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005924/1.089, allocations: 3.097 MB / 1.046 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/1.09, allocations: 480 kB / 1.046 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/1.091, allocations: 0.8142 MB / 1.047 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006604/1.098, allocations: 2.976 MB / 1.05 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.098, allocations: 0.8125 kB / 1.05 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/1.098, allocations: 0 / 1.05 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.086e-05/1.098, allocations: 0.9062 kB / 1.05 GB, free: 0.7734 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003758/1.102, allocations: 2.063 MB / 1.052 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.102, allocations: 15.75 kB / 1.052 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/1.102, allocations: 155.2 kB / 1.052 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/1.105, allocations: 0.5045 MB / 1.052 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/1.107, allocations: 1.185 MB / 1.054 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-05/1.108, allocations: 78.56 kB / 1.054 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.108, allocations: 97.19 kB / 1.054 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/1.11, allocations: 1.348 MB / 1.055 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.11, allocations: 7.562 kB / 1.055 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/1.11, allocations: 47.42 kB / 1.055 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/1.11, allocations: 46.81 kB / 1.055 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/1.113, allocations: 1.05 MB / 1.056 GB, free: 14.75 MB / 0.7637 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.008046/1.121, allocations: 7.394 MB / 1.063 GB, free: 9.781 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.122, allocations: 0.5405 MB / 1.064 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/1.123, allocations: 257.7 kB / 1.064 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/1.123, allocations: 288.4 kB / 1.064 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.123, allocations: 37.81 kB / 1.064 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 4.127e-06/1.123, allocations: 3.188 kB / 1.064 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.002338/1.126, allocations: 0.8507 MB / 1.065 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/1.126, allocations: 53.91 kB / 1.065 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.127, allocations: 1.401 MB / 1.067 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/1.127, allocations: 31.7 kB / 1.067 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/1.128, allocations: 0.7154 MB / 1.067 GB, free: 8.711 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/1.128, allocations: 126.3 kB / 1.068 GB, free: 8.633 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/1.128, allocations: 165.7 kB / 1.068 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.128, allocations: 337.5 kB / 1.068 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007899/1.129, allocations: 316 kB / 1.068 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.13, allocations: 0.6849 MB / 1.069 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/1.132, allocations: 0.9212 MB / 1.07 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.132, allocations: 7.375 kB / 1.07 GB, free: 7.355 MB / 0.7637 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002386/1.134, allocations: 1.061 MB / 1.071 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.134, allocations: 11.69 kB / 1.071 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.135, allocations: 11.47 kB / 1.071 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/1.135, allocations: 22.75 kB / 1.071 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/1.135, allocations: 204 kB / 1.071 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.135, allocations: 22.98 kB / 1.071 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.137, allocations: 181.6 kB / 1.071 GB, free: 7.145 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/1.137, allocations: 46.09 kB / 1.071 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/1.138, allocations: 0.5714 MB / 1.072 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/1.139, allocations: 0.684 MB / 1.073 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001658/1.141, allocations: 0.9233 MB / 1.074 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/1.141, allocations: 2.469 kB / 1.074 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002393/1.143, allocations: 1.058 MB / 1.075 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.143, allocations: 14.38 kB / 1.075 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.143, allocations: 11.09 kB / 1.075 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/1.143, allocations: 15.53 kB / 1.075 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/1.144, allocations: 205.1 kB / 1.075 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/1.144, allocations: 22.72 kB / 1.075 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.146, allocations: 137.4 kB / 1.075 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.74e-05/1.146, allocations: 43.45 kB / 1.075 GB, free: 5.957 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002715/1.146, allocations: 234.9 kB / 1.075 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.146, allocations: 150.6 kB / 1.075 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.148, allocations: 0.6495 MB / 1.076 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.148, allocations: 2.812 kB / 1.076 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.148, allocations: 0 / 1.076 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.148, allocations: 2.625 kB / 1.076 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/1.151, allocations: 1.893 MB / 1.078 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.151, allocations: 1.781 kB / 1.078 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/1.152, allocations: 96.64 kB / 1.078 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/1.152, allocations: 7.312 kB / 1.078 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.152, allocations: 15.84 kB / 1.078 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.152, allocations: 8.688 kB / 1.078 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.152, allocations: 3.312 kB / 1.078 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/1.153, allocations: 0.8084 MB / 1.079 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/1.154, allocations: 311.3 kB / 1.079 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/1.154, allocations: 8.656 kB / 1.079 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.155, allocations: 71.59 kB / 1.079 GB, free: 4.555 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.155, allocations: 35.66 kB / 1.079 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/1.155, allocations: 24.36 kB / 1.079 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001349/1.157, allocations: 1.003 MB / 1.08 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/1.157, allocations: 2.656 kB / 1.08 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001732/1.159, allocations: 0.5829 MB / 1.081 GB, free: 4.383 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002624/1.161, allocations: 1.518 MB / 1.082 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002968/1.164, allocations: 1.124 MB / 1.083 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/1.164, allocations: 0 / 1.083 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000642/1.165, allocations: 254.7 kB / 1.084 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.169, allocations: 0.7418 MB / 1.084 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.186, allocations: 9.844 MB / 1.094 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/1.187, allocations: 1.182 MB / 1.095 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001558/1.188, allocations: 383.7 kB / 1.095 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007186/1.189, allocations: 499.3 kB / 1.096 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/1.189, allocations: 0 / 1.096 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07459/1.264, allocations: 35.63 MB / 1.131 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.73, allocations: 14.56 kB / 1.131 GB, free: 8.48 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)