Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 195.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 75.77 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1844, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5656/0.75, allocations: 241.9 MB / 1.02 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.7653, allocations: 13.47 MB / 1.033 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.7672, allocations: 58.91 kB / 1.033 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.7694, allocations: 0.9732 MB / 1.034 GB, free: 268 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.7731, allocations: 1.788 MB / 1.036 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.7762, allocations: 1.222 MB / 1.037 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.7801, allocations: 3.255 MB / 1.04 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.7813, allocations: 1.058 MB / 1.041 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008034/0.7893, allocations: 4.106 MB / 1.045 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.7903, allocations: 0.8902 MB / 1.046 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.7905, allocations: 80.62 kB / 1.046 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.7918, allocations: 0.6966 MB / 1.047 GB, free: 7.914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.7921, allocations: 443.2 kB / 1.047 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.7927, allocations: 0.6907 MB / 1.048 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.7941, allocations: 1.512 MB / 1.049 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7941, allocations: 0 / 1.049 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7941, allocations: 0 / 1.049 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.7942, allocations: 0 / 1.049 GB, free: 6.211 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001869/0.796, allocations: 1.63 MB / 1.051 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7961, allocations: 9.406 kB / 1.051 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.7962, allocations: 122.7 kB / 1.051 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.7968, allocations: 205.3 kB / 1.051 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7978, allocations: 0.8249 MB / 1.052 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.7979, allocations: 131.7 kB / 1.052 GB, free: 4.016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.798, allocations: 85.59 kB / 1.052 GB, free: 3.957 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.7992, allocations: 0.9143 MB / 1.053 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.7993, allocations: 7.922 kB / 1.053 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.7993, allocations: 32 kB / 1.053 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.7994, allocations: 24 kB / 1.053 GB, free: 2.891 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.8002, allocations: 0.511 MB / 1.054 GB, free: 2.375 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.003925/0.8041, allocations: 4.896 MB / 1.058 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/0.8046, allocations: 406.6 kB / 1.059 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.8049, allocations: 271.8 kB / 1.059 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.8051, allocations: 101 kB / 1.059 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8051, allocations: 54.48 kB / 1.059 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.8052, allocations: 0 / 1.059 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31): time 0.001645/0.8068, allocations: 0.7859 MB / 1.06 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.8069, allocations: 397.7 kB / 1.06 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8083, allocations: 1.271 MB / 1.062 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.8083, allocations: 37.7 kB / 1.062 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/0.8087, allocations: 0.5534 MB / 1.062 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.8088, allocations: 102.5 kB / 1.062 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.8089, allocations: 85.59 kB / 1.062 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.809, allocations: 325.9 kB / 1.063 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.8092, allocations: 83.94 kB / 1.063 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.8096, allocations: 347.4 kB / 1.063 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.81, allocations: 324.6 kB / 1.063 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.81, allocations: 0 / 1.063 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007449/0.8108, allocations: 0.4936 MB / 1.064 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8108, allocations: 8 kB / 1.064 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8108, allocations: 4 kB / 1.064 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002399/0.811, allocations: 73.77 kB / 1.064 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.8113, allocations: 63.84 kB / 1.064 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.8133, allocations: 3.252 MB / 1.067 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.814, allocations: 103.1 kB / 1.067 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.814, allocations: 20.88 kB / 1.067 GB, free: 3.258 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.8143, allocations: 281.5 kB / 1.068 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003612/0.8147, allocations: 130.4 kB / 1.068 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.8148, allocations: 131.9 kB / 1.068 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8149, allocations: 11.94 kB / 1.068 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.8149, allocations: 4 kB / 1.068 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8149, allocations: 8 kB / 1.068 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.8175, allocations: 2.512 MB / 1.07 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8175, allocations: 5.156 kB / 1.07 GB, free: 24 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.8177, allocations: 55.84 kB / 1.07 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.8179, allocations: 69.67 kB / 1.07 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.8179, allocations: 15.94 kB / 1.07 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.8198, allocations: 3.262 MB / 1.074 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.8199, allocations: 7.938 kB / 1.074 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.8206, allocations: 0.6777 MB / 1.074 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.8209, allocations: 247.4 kB / 1.074 GB, free: 11.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.821, allocations: 15.98 kB / 1.075 GB, free: 11.28 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.8217, allocations: 40.14 kB / 1.075 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.8217, allocations: 43.78 kB / 1.075 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.8218, allocations: 19.97 kB / 1.075 GB, free: 11.18 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009468/0.8227, allocations: 0.8841 MB / 1.075 GB, free: 10.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8227, allocations: 0 / 1.075 GB, free: 10.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008123/0.8235, allocations: 255.7 kB / 1.076 GB, free: 10.05 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.8248, allocations: 1.335 MB / 1.077 GB, free: 8.621 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.8256, allocations: 0.5171 MB / 1.078 GB, free: 8.078 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8256, allocations: 0 / 1.078 GB, free: 8.078 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.826, allocations: 402.4 kB / 1.078 GB, free: 7.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.8292, allocations: 0.7542 MB / 1.079 GB, free: 6.926 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009557/0.8387, allocations: 9.022 MB / 1.087 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.8394, allocations: 1.134 MB / 1.089 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008607/0.8403, allocations: 238.5 kB / 1.089 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.8408, allocations: 443.3 kB / 1.089 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.8408, allocations: 0 / 1.089 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.993/5.834, allocations: 33.96 MB / 1.122 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/16.39, allocations: 17.53 kB / 1.122 GB, free: 10.05 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)