Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.00202/0.00202, allocations: 99.55 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.002115/0.002115, allocations: 177.3 kB / 15.94 MB, free: 228 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.905/2.905, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.963/4.963, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007084/0.0007089, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464/1.465, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.3018/1.767, allocations: 135.6 MB / 1.113 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00467/1.772, allocations: 1.616 MB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/1.773, allocations: 7.938 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/1.774, allocations: 187.1 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/1.777, allocations: 494.6 kB / 1.116 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/1.779, allocations: 446.9 kB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003503/1.782, allocations: 1.427 MB / 1.117 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/1.784, allocations: 0.7033 MB / 1.118 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/1.787, allocations: 0.6773 MB / 1.119 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/1.789, allocations: 473.9 kB / 1.119 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/1.789, allocations: 36 kB / 1.119 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/1.792, allocations: 407.4 kB / 1.12 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005534/1.792, allocations: 263.1 kB / 1.12 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007137/1.793, allocations: 233.1 kB / 1.12 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002527/1.796, allocations: 0.947 MB / 1.121 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.796, allocations: 0 / 1.121 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.733e-06/1.796, allocations: 3.938 kB / 1.121 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.545e-05/1.796, allocations: 0 / 1.121 GB, free: 6.453 MB / 0.8731 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.004907/1.801, allocations: 1.211 MB / 1.122 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.086e-05/1.801, allocations: 8.031 kB / 1.122 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003384/1.801, allocations: 98.47 kB / 1.122 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.803, allocations: 178.5 kB / 1.122 GB, free: 4.898 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/1.806, allocations: 0.7562 MB / 1.123 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.806, allocations: 45 kB / 1.123 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.806, allocations: 60 kB / 1.123 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/1.808, allocations: 0.6783 MB / 1.124 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.808, allocations: 0 / 1.124 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/1.809, allocations: 24 kB / 1.124 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/1.809, allocations: 11.95 kB / 1.124 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.81, allocations: 0.5386 MB / 1.125 GB, free: 2.73 MB / 0.8731 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.008273/1.819, allocations: 3.233 MB / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.82, allocations: 406.4 kB / 1.128 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.82, allocations: 19.97 kB / 1.128 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/1.82, allocations: 38.52 kB / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=28): time 4.789e-06/1.82, allocations: 0 / 1.128 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28): time 0.009234/1.829, allocations: 1.489 MB / 1.13 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.829, allocations: 55.34 kB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/1.833, allocations: 1.057 MB / 1.131 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/1.833, allocations: 37.7 kB / 1.131 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/1.834, allocations: 440.5 kB / 1.131 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/1.834, allocations: 102.5 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/1.834, allocations: 4 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002684/1.834, allocations: 322 kB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005904/1.835, allocations: 131.9 kB / 1.132 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/1.836, allocations: 329.4 kB / 1.132 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/1.836, allocations: 180.2 kB / 1.132 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.836, allocations: 0 / 1.132 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.004096/1.84, allocations: 0.7343 MB / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003682/1.841, allocations: 372.7 kB / 1.133 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.841, allocations: 0 / 1.133 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/1.843, allocations: 332.4 kB / 1.134 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.844, allocations: 23.92 kB / 1.134 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.846, allocations: 1.002 MB / 1.135 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.848, allocations: 79.69 kB / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/1.848, allocations: 15.98 kB / 1.135 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.848, allocations: 1.625 kB / 1.135 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/1.85, allocations: 0.4883 MB / 1.135 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.85, allocations: 7.938 kB / 1.135 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.851, allocations: 196.7 kB / 1.135 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/1.851, allocations: 19.98 kB / 1.135 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007073/1.858, allocations: 3.112 MB / 1.138 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/1.86, allocations: 75.69 kB / 1.138 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/1.86, allocations: 8 kB / 1.138 GB, free: 3.734 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001228/1.861, allocations: 456.8 kB / 1.139 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/1.862, allocations: 94.88 kB / 1.139 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/1.864, allocations: 0.7181 MB / 1.14 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.864, allocations: 4 kB / 1.14 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.864, allocations: 4 kB / 1.14 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/1.864, allocations: 3.953 kB / 1.14 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/1.868, allocations: 1.51 MB / 1.141 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.868, allocations: 4 kB / 1.141 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.869, allocations: 24.2 kB / 1.141 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009156/1.869, allocations: 228.5 kB / 1.141 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/1.869, allocations: 4 kB / 1.141 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/1.871, allocations: 0.9828 MB / 1.142 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.871, allocations: 4.031 kB / 1.142 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.874, allocations: 0.9116 MB / 1.143 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/1.875, allocations: 215.8 kB / 1.143 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.875, allocations: 8 kB / 1.143 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008975/1.876, allocations: 51.86 kB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.876, allocations: 27.92 kB / 1.144 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/1.876, allocations: 8 kB / 1.144 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002034/1.878, allocations: 0.7668 MB / 1.144 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/1.878, allocations: 0 / 1.144 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002162/1.881, allocations: 403.4 kB / 1.145 GB, free: 13.09 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003575/1.884, allocations: 1.888 MB / 1.147 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002799/1.887, allocations: 0.7386 MB / 1.147 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.887, allocations: 4 kB / 1.147 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/1.888, allocations: 213.5 kB / 1.147 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004309/1.892, allocations: 495.8 kB / 1.148 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.916, allocations: 6.442 MB / 1.154 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/1.917, allocations: 1.196 MB / 1.155 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001356/1.919, allocations: 207.3 kB / 1.156 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.919, allocations: 307.3 kB / 1.156 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of SimCode: time 1.903e-06/1.919, allocations: 0 / 1.156 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/2.033, allocations: 27.62 MB / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004568/2.034, allocations: 279.3 kB / 1.183 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.476/6.51, allocations: 0 / 1.183 GB, free: 5.758 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat does not exist to compare? outputFormat=mat