Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.001005/0.001005, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 291 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9462/0.9462, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 96.34 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.143, allocations: 86.98 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5307/0.6738, allocations: 239 MB / 0.9131 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.6904, allocations: 13.44 MB / 0.9262 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.6924, allocations: 51.62 kB / 0.9263 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.6947, allocations: 0.8588 MB / 0.9271 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.6989, allocations: 1.672 MB / 0.9287 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.7015, allocations: 1.128 MB / 0.9298 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003615/0.7051, allocations: 3.283 MB / 0.933 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.7063, allocations: 1.008 MB / 0.934 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008462/0.7148, allocations: 4.021 MB / 0.938 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.716, allocations: 0.9645 MB / 0.9389 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.7161, allocations: 79.94 kB / 0.939 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.7174, allocations: 0.7402 MB / 0.9397 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.7178, allocations: 438.6 kB / 0.9401 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006279/0.7184, allocations: 0.6878 MB / 0.9408 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.72, allocations: 1.6 MB / 0.9424 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.72, allocations: 4 kB / 0.9424 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.72, allocations: 0 / 0.9424 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.72, allocations: 0 / 0.9424 GB, free: 10.67 MB / 0.6544 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.001962/0.722, allocations: 1.62 MB / 0.9439 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7221, allocations: 16.03 kB / 0.944 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.7222, allocations: 136.3 kB / 0.9441 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005944/0.7228, allocations: 190.2 kB / 0.9443 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.7239, allocations: 0.8386 MB / 0.9451 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.724, allocations: 117.4 kB / 0.9452 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.7241, allocations: 91.94 kB / 0.9453 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7254, allocations: 0.9104 MB / 0.9462 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7254, allocations: 11.92 kB / 0.9462 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.7255, allocations: 36 kB / 0.9462 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.7255, allocations: 20 kB / 0.9462 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/0.7263, allocations: 0.5033 MB / 0.9467 GB, free: 5.965 MB / 0.6544 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.003977/0.7303, allocations: 4.874 MB / 0.9515 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.7308, allocations: 416.7 kB / 0.9519 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.7312, allocations: 267.8 kB / 0.9521 GB, free: 15.94 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.7313, allocations: 101.1 kB / 0.9522 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.7314, allocations: 54.44 kB / 0.9523 GB, free: 15.76 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.7314, allocations: 4 kB / 0.9523 GB, free: 15.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001602/0.733, allocations: 0.7739 MB / 0.953 GB, free: 14.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.7331, allocations: 409.8 kB / 0.9534 GB, free: 14.44 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.7344, allocations: 1.267 MB / 0.9547 GB, free: 13.16 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.7345, allocations: 37.7 kB / 0.9547 GB, free: 13.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.7349, allocations: 0.5457 MB / 0.9552 GB, free: 12.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.735, allocations: 110.5 kB / 0.9554 GB, free: 12.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.7351, allocations: 81.61 kB / 0.9554 GB, free: 12.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.7352, allocations: 321.9 kB / 0.9557 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.7354, allocations: 95.67 kB / 0.9558 GB, free: 11.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.7358, allocations: 335.7 kB / 0.9561 GB, free: 11.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.7362, allocations: 332.5 kB / 0.9565 GB, free: 11.17 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.7362, allocations: 0 / 0.9565 GB, free: 11.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007517/0.737, allocations: 0.4895 MB / 0.9569 GB, free: 10.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.737, allocations: 8 kB / 0.9569 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.737, allocations: 6.125 kB / 0.957 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.7373, allocations: 73.86 kB / 0.957 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.7375, allocations: 51.91 kB / 0.9571 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.7397, allocations: 3.265 MB / 0.9603 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007042/0.7404, allocations: 111.2 kB / 0.9604 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.7405, allocations: 19.98 kB / 0.9604 GB, free: 6.852 MB / 0.67 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.0003225/0.7408, allocations: 278.3 kB / 0.9607 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.7412, allocations: 142.3 kB / 0.9608 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.7413, allocations: 127.9 kB / 0.9609 GB, free: 6.301 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.7413, allocations: 11.94 kB / 0.9609 GB, free: 6.289 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.7413, allocations: 4 kB / 0.9609 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.7413, allocations: 4 kB / 0.9609 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.7441, allocations: 2.516 MB / 0.9634 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7441, allocations: 4.141 kB / 0.9634 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.7443, allocations: 49.41 kB / 0.9634 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/0.7445, allocations: 82.22 kB / 0.9635 GB, free: 3.484 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.7445, allocations: 16.12 kB / 0.9635 GB, free: 3.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.7467, allocations: 3.252 MB / 0.9667 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7467, allocations: 11.88 kB / 0.9667 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007969/0.7475, allocations: 0.6777 MB / 0.9674 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.7478, allocations: 255.4 kB / 0.9676 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.7479, allocations: 13 kB / 0.9676 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.7486, allocations: 63.78 kB / 0.9677 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.7487, allocations: 39.83 kB / 0.9677 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.7488, allocations: 19.94 kB / 0.9678 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009757/0.7497, allocations: 0.8802 MB / 0.9686 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7498, allocations: 4 kB / 0.9686 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009998/0.7508, allocations: 263.8 kB / 0.9689 GB, free: 13.62 MB / 0.6856 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.00131/0.7521, allocations: 1.32 MB / 0.9702 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008237/0.7529, allocations: 0.5365 MB / 0.9707 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7529, allocations: 0 / 0.9707 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.7534, allocations: 407.1 kB / 0.9711 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.7565, allocations: 0.7455 MB / 0.9718 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.7673, allocations: 9.305 MB / 0.9809 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/0.7679, allocations: 1.134 MB / 0.982 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008095/0.7687, allocations: 246.5 kB / 0.9822 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.7692, allocations: 435.3 kB / 0.9826 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of SimCode: time 1.042e-06/0.7692, allocations: 0 / 0.9826 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7194/1.489, allocations: 33.72 MB / 1.016 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/1.489, allocations: 321.5 kB / 1.016 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/4.365, allocations: 4 kB / 1.016 GB, free: 13.33 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)