Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_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.006834/0.006834, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001334/0.001335, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 68.23 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6069/0.7523, allocations: 241.9 MB / 0.8954 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01742/0.7698, allocations: 13.52 MB / 0.9086 GB, free: 6.566 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.7719, allocations: 59.62 kB / 0.9087 GB, free: 6.508 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.7747, allocations: 0.986 MB / 0.9097 GB, free: 5.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.7796, allocations: 1.77 MB / 0.9114 GB, free: 3.738 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.7826, allocations: 1.251 MB / 0.9126 GB, free: 2.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.7867, allocations: 3.254 MB / 0.9158 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.788, allocations: 1.051 MB / 0.9168 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008895/0.7969, allocations: 4.148 MB / 0.9209 GB, free: 10 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.7982, allocations: 0.8983 MB / 0.9217 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.7984, allocations: 76 kB / 0.9218 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.7996, allocations: 0.6936 MB / 0.9225 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.8, allocations: 442.6 kB / 0.9229 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.8007, allocations: 0.68 MB / 0.9236 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.8023, allocations: 1.553 MB / 0.9251 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8023, allocations: 4 kB / 0.9251 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8023, allocations: 4 kB / 0.9251 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.8023, allocations: 0 / 0.9251 GB, free: 5.648 MB / 0.6856 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.001999/0.8043, allocations: 1.623 MB / 0.9267 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.8044, allocations: 12.03 kB / 0.9267 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.8045, allocations: 130.7 kB / 0.9268 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.8051, allocations: 202 kB / 0.927 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.8065, allocations: 0.8973 MB / 0.9279 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.8066, allocations: 121.3 kB / 0.928 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.8067, allocations: 88 kB / 0.9281 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.808, allocations: 0.9182 MB / 0.929 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.808, allocations: 3.938 kB / 0.929 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.808, allocations: 32 kB / 0.929 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.8081, allocations: 27.94 kB / 0.9291 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.8088, allocations: 0.4993 MB / 0.9295 GB, free: 0.8828 MB / 0.6856 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.004053/0.8129, allocations: 4.861 MB / 0.9343 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.8134, allocations: 420.7 kB / 0.9347 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.8137, allocations: 259.8 kB / 0.9349 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.8139, allocations: 109.2 kB / 0.935 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.814, allocations: 50.5 kB / 0.9351 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.814, allocations: 0 / 0.9351 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001616/0.8156, allocations: 0.7743 MB / 0.9358 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.8157, allocations: 405.4 kB / 0.9362 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.817, allocations: 1.271 MB / 0.9375 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.8171, allocations: 37.7 kB / 0.9375 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.8175, allocations: 0.5534 MB / 0.938 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.8175, allocations: 114.4 kB / 0.9382 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.8176, allocations: 77.61 kB / 0.9382 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.8177, allocations: 321.9 kB / 0.9385 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.8179, allocations: 96.92 kB / 0.9386 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.8183, allocations: 335.1 kB / 0.939 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.8187, allocations: 324.6 kB / 0.9393 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8187, allocations: 4 kB / 0.9393 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007321/0.8195, allocations: 0.4897 MB / 0.9397 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8195, allocations: 8 kB / 0.9398 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8195, allocations: 4 kB / 0.9398 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.8198, allocations: 73.66 kB / 0.9398 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.82, allocations: 55.91 kB / 0.9399 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.8221, allocations: 3.255 MB / 0.9431 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.8228, allocations: 92.8 kB / 0.9431 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.8229, allocations: 23.98 kB / 0.9432 GB, free: 1.805 MB / 0.7012 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.0003334/0.8232, allocations: 273.7 kB / 0.9434 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.8235, allocations: 138.3 kB / 0.9436 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.8237, allocations: 135.8 kB / 0.9437 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8237, allocations: 8 kB / 0.9437 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8237, allocations: 4 kB / 0.9437 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.8237, allocations: 7.984 kB / 0.9437 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.8265, allocations: 2.516 MB / 0.9462 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8265, allocations: 4 kB / 0.9462 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.8267, allocations: 47.92 kB / 0.9462 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.8268, allocations: 73.61 kB / 0.9463 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.8269, allocations: 24.25 kB / 0.9463 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.8289, allocations: 3.258 MB / 0.9495 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.8289, allocations: 7.938 kB / 0.9495 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.8297, allocations: 0.6884 MB / 0.9502 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.83, allocations: 247.4 kB / 0.9504 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.8301, allocations: 15.98 kB / 0.9504 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.8307, allocations: 47.94 kB / 0.9505 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.8308, allocations: 35.84 kB / 0.9505 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.8308, allocations: 23.94 kB / 0.9505 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009231/0.8318, allocations: 0.8763 MB / 0.9514 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8318, allocations: 0 / 0.9514 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008473/0.8326, allocations: 263.7 kB / 0.9516 GB, free: 8.574 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.001298/0.8339, allocations: 1.32 MB / 0.9529 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.8348, allocations: 0.5214 MB / 0.9534 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8348, allocations: 4.125 kB / 0.9534 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.8353, allocations: 406.6 kB / 0.9538 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/0.8383, allocations: 0.7498 MB / 0.9546 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009198/0.8475, allocations: 8.201 MB / 0.9626 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.8481, allocations: 1.127 MB / 0.9637 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007442/0.8489, allocations: 246.5 kB / 0.9639 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.8493, allocations: 439.3 kB / 0.9643 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/0.8493, allocations: 4 kB / 0.9643 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/0.9167, allocations: 34.79 MB / 0.9983 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.8, allocations: 11.62 kB / 0.9983 GB, free: 8.742 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)