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: translateModel(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006009/0.00601, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001303/0.001303, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4991, allocations: 80.92 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7856/1.285, allocations: 241.9 MB / 0.9009 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01792/1.303, allocations: 13.54 MB / 0.9141 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003306/1.306, allocations: 60.88 kB / 0.9142 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/1.31, allocations: 1.002 MB / 0.9151 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007217/1.317, allocations: 1.861 MB / 0.9169 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/1.321, allocations: 1.246 MB / 0.9182 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00524/1.326, allocations: 3.263 MB / 0.9214 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/1.328, allocations: 1.055 MB / 0.9224 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/1.339, allocations: 4.257 MB / 0.9265 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/1.341, allocations: 0.891 MB / 0.9274 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003771/1.341, allocations: 82.62 kB / 0.9275 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/1.343, allocations: 0.6971 MB / 0.9282 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/1.344, allocations: 443.4 kB / 0.9286 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/1.345, allocations: 0.6845 MB / 0.9293 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/1.347, allocations: 1.546 MB / 0.9308 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.347, allocations: 0.9062 kB / 0.9308 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/1.347, allocations: 3.938 kB / 0.9308 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.347, allocations: 3.375 kB / 0.9308 GB, free: 0.6836 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.002327/1.35, allocations: 1.626 MB / 0.9324 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.35, allocations: 7.125 kB / 0.9324 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006246/1.35, allocations: 201.9 kB / 0.9326 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/1.352, allocations: 0.9019 MB / 0.9334 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/1.352, allocations: 129 kB / 0.9336 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/1.352, allocations: 83.62 kB / 0.9336 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.353, allocations: 0.9176 MB / 0.9345 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.353, allocations: 7.281 kB / 0.9346 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/1.354, allocations: 35.56 kB / 0.9346 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/1.354, allocations: 23.06 kB / 0.9346 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/1.354, allocations: 0.5083 MB / 0.9351 GB, free: 14.98 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.004363/1.359, allocations: 4.858 MB / 0.9398 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/1.359, allocations: 423 kB / 0.9403 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.36, allocations: 267.8 kB / 0.9405 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/1.36, allocations: 94.98 kB / 0.9406 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.36, allocations: 53.31 kB / 0.9406 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/1.36, allocations: 0 / 0.9406 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.00166/1.362, allocations: 0.7809 MB / 0.9414 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/1.362, allocations: 404.3 kB / 0.9418 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.363, allocations: 1.269 MB / 0.943 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/1.363, allocations: 39.39 kB / 0.9431 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/1.364, allocations: 0.5465 MB / 0.9436 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/1.364, allocations: 109 kB / 0.9437 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.364, allocations: 90.58 kB / 0.9438 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.364, allocations: 319 kB / 0.9441 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/1.364, allocations: 96.64 kB / 0.9442 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/1.365, allocations: 337.7 kB / 0.9445 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/1.365, allocations: 335.5 kB / 0.9448 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.365, allocations: 0 / 0.9448 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007945/1.366, allocations: 498.9 kB / 0.9453 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.366, allocations: 9.062 kB / 0.9453 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.366, allocations: 3.594 kB / 0.9453 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/1.366, allocations: 76.86 kB / 0.9454 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/1.367, allocations: 56.38 kB / 0.9455 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.369, allocations: 3.255 MB / 0.9486 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/1.37, allocations: 93.92 kB / 0.9487 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/1.37, allocations: 19.77 kB / 0.9487 GB, free: 5.902 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.0003825/1.37, allocations: 280 kB / 0.949 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/1.371, allocations: 142.7 kB / 0.9491 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/1.371, allocations: 126.6 kB / 0.9493 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.371, allocations: 7.938 kB / 0.9493 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.371, allocations: 5.25 kB / 0.9493 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.371, allocations: 2.406 kB / 0.9493 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.374, allocations: 2.52 MB / 0.9517 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.374, allocations: 8.062 kB / 0.9517 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/1.374, allocations: 42.97 kB / 0.9518 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/1.374, allocations: 85.31 kB / 0.9519 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.374, allocations: 9.844 kB / 0.9519 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/1.377, allocations: 3.261 MB / 0.9551 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/1.377, allocations: 10.69 kB / 0.9551 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/1.378, allocations: 0.6746 MB / 0.9557 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003337/1.378, allocations: 247.9 kB / 0.956 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/1.378, allocations: 18.34 kB / 0.956 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/1.379, allocations: 40.81 kB / 0.956 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/1.379, allocations: 44.23 kB / 0.9561 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.379, allocations: 22.08 kB / 0.9561 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00112/1.38, allocations: 0.8792 MB / 0.9569 GB, free: 456 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.222e-06/1.38, allocations: 0 / 0.9569 GB, free: 456 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001065/1.381, allocations: 263.4 kB / 0.9572 GB, free: 440 kB / 0.7012 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.0005553/1.382, allocations: 207.9 kB / 0.9574 GB, free: 324 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009491/1.382, allocations: 0.5134 MB / 0.9579 GB, free: 92 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.382, allocations: 1.25 kB / 0.9579 GB, free: 92 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/1.383, allocations: 407.4 kB / 0.9583 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/1.386, allocations: 0.7461 MB / 0.959 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.389, allocations: 1.823 MB / 0.9608 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/1.39, allocations: 1.133 MB / 0.9619 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001155/1.391, allocations: 241.2 kB / 0.9621 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.391, allocations: 86.11 kB / 0.9622 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/1.391, allocations: 0 / 0.9622 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of Templates: time 0.04239/1.433, allocations: 23.33 MB / 0.985 GB, free: 14.41 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)