Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_dev_IDEAS_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.005091/0.005091, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001196/0.001196, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 135.1 MB / 425.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.23 kB / 0.5852 GB, free: 22.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1628, allocations: 80.91 MB / 0.6642 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5677/0.7306, allocations: 241.9 MB / 0.9004 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.7498, allocations: 13.54 MB / 0.9136 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.752, allocations: 55.62 kB / 0.9137 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003471/0.7555, allocations: 1.009 MB / 0.9147 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.7609, allocations: 1.859 MB / 0.9165 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.7642, allocations: 1.236 MB / 0.9177 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.7687, allocations: 3.268 MB / 0.9209 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.7705, allocations: 1.055 MB / 0.9219 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009994/0.7805, allocations: 4.254 MB / 0.9261 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.7823, allocations: 0.8943 MB / 0.9269 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.7827, allocations: 76 kB / 0.927 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.7846, allocations: 0.7053 MB / 0.9277 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006291/0.7852, allocations: 446.5 kB / 0.9281 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.7865, allocations: 0.6839 MB / 0.9288 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.7894, allocations: 1.552 MB / 0.9303 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.7894, allocations: 0 / 0.9303 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.927e-06/0.7894, allocations: 4 kB / 0.9303 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.077e-05/0.7895, allocations: 0 / 0.9303 GB, free: 14.81 MB / 0.7012 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.003584/0.7931, allocations: 1.661 MB / 0.9319 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7932, allocations: 13.11 kB / 0.9319 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.7934, allocations: 130.7 kB / 0.9321 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.7942, allocations: 202.9 kB / 0.9323 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.7961, allocations: 0.9218 MB / 0.9332 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.7963, allocations: 121.4 kB / 0.9333 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.7964, allocations: 88 kB / 0.9334 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.7981, allocations: 0.9103 MB / 0.9343 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.7981, allocations: 4 kB / 0.9343 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.7982, allocations: 32 kB / 0.9343 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.7982, allocations: 27.92 kB / 0.9343 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009044/0.7991, allocations: 0.508 MB / 0.9348 GB, free: 9.984 MB / 0.7012 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.005033/0.8042, allocations: 4.87 MB / 0.9396 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.8048, allocations: 420.5 kB / 0.94 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.8051, allocations: 259.9 kB / 0.9402 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.8053, allocations: 109 kB / 0.9403 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.8054, allocations: 58.48 kB / 0.9404 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/0.8054, allocations: 224 / 0.9404 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001904/0.8073, allocations: 0.7852 MB / 0.9411 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.8075, allocations: 401.5 kB / 0.9415 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.809, allocations: 1.275 MB / 0.9428 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.8091, allocations: 41.7 kB / 0.9428 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.8096, allocations: 0.5499 MB / 0.9433 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.8097, allocations: 107.1 kB / 0.9434 GB, free: 476 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.8098, allocations: 85.64 kB / 0.9435 GB, free: 384 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.8099, allocations: 321.9 kB / 0.9438 GB, free: 56 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.8102, allocations: 91.92 kB / 0.9439 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.8106, allocations: 334.5 kB / 0.9442 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.8111, allocations: 332.5 kB / 0.9446 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.8112, allocations: 4 kB / 0.9446 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009932/0.8122, allocations: 0.4943 MB / 0.945 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.8122, allocations: 8 kB / 0.9451 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8122, allocations: 7.938 kB / 0.9451 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.8125, allocations: 69.67 kB / 0.9451 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.8128, allocations: 59.94 kB / 0.9452 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.8153, allocations: 3.266 MB / 0.9484 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.8161, allocations: 99.3 kB / 0.9485 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.8162, allocations: 16 kB / 0.9485 GB, free: 10.85 MB / 0.7169 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.0004047/0.8166, allocations: 278.5 kB / 0.9487 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/0.8171, allocations: 143.1 kB / 0.9489 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.8173, allocations: 131.9 kB / 0.949 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.8173, allocations: 8 kB / 0.949 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8173, allocations: 4 kB / 0.949 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8173, allocations: 4 kB / 0.949 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.8208, allocations: 2.52 MB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.8208, allocations: 4 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.821, allocations: 51.91 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.8212, allocations: 78.36 kB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.8212, allocations: 15.94 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.8237, allocations: 3.266 MB / 0.9548 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8237, allocations: 4 kB / 0.9548 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.8246, allocations: 0.689 MB / 0.9555 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.825, allocations: 256.1 kB / 0.9557 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.8253, allocations: 15.98 kB / 0.9558 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.8261, allocations: 39.95 kB / 0.9558 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.8262, allocations: 35.84 kB / 0.9558 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.8262, allocations: 23.98 kB / 0.9559 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001191/0.8274, allocations: 0.8802 MB / 0.9567 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8274, allocations: 0 / 0.9567 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009969/0.8284, allocations: 255.8 kB / 0.957 GB, free: 1.621 MB / 0.7169 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.001501/0.8299, allocations: 1.336 MB / 0.9583 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.831, allocations: 0.5284 MB / 0.9588 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.831, allocations: 0 / 0.9588 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.8316, allocations: 411 kB / 0.9592 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/0.8352, allocations: 0.7502 MB / 0.9599 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.8473, allocations: 8.234 MB / 0.9679 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.8482, allocations: 1.138 MB / 0.9691 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009663/0.8492, allocations: 242.5 kB / 0.9693 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.8497, allocations: 439.3 kB / 0.9697 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/0.8497, allocations: 0 / 0.9697 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/0.9185, allocations: 34.21 MB / 1.003 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.64, allocations: 11.62 kB / 1.003 GB, free: 2.32 MB / 0.7637 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)