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.004684/0.004684, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001328/0.001328, allocations: 197.5 kB / 16.68 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8631/0.8631, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 69.88 kB / 0.5858 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 81.03 MB / 0.6649 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6164/0.7782, allocations: 241.9 MB / 0.9011 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.7971, allocations: 13.52 MB / 0.9143 GB, free: 15 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.7991, allocations: 59.62 kB / 0.9144 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.8019, allocations: 0.986 MB / 0.9153 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.8068, allocations: 1.781 MB / 0.9171 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.81, allocations: 1.241 MB / 0.9183 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004591/0.8146, allocations: 3.265 MB / 0.9215 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.8163, allocations: 1.048 MB / 0.9225 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.8267, allocations: 4.125 MB / 0.9265 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.8282, allocations: 0.8943 MB / 0.9274 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.8284, allocations: 80 kB / 0.9275 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.8299, allocations: 0.7014 MB / 0.9282 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.8304, allocations: 442.6 kB / 0.9286 GB, free: 336 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.8312, allocations: 0.6839 MB / 0.9292 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.8333, allocations: 1.548 MB / 0.9308 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8333, allocations: 0 / 0.9308 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8333, allocations: 3.938 kB / 0.9308 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.8334, allocations: 0 / 0.9308 GB, free: 14.08 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.002357/0.8357, allocations: 1.669 MB / 0.9324 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.8358, allocations: 13.05 kB / 0.9324 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.8359, allocations: 126.7 kB / 0.9325 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.8366, allocations: 210.9 kB / 0.9327 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.8381, allocations: 0.914 MB / 0.9336 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.8383, allocations: 121.4 kB / 0.9337 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.8384, allocations: 84 kB / 0.9338 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.8399, allocations: 0.9182 MB / 0.9347 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.8399, allocations: 11.92 kB / 0.9347 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.84, allocations: 32 kB / 0.9348 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.84, allocations: 27.94 kB / 0.9348 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009391/0.841, allocations: 0.5043 MB / 0.9353 GB, free: 9.242 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.004978/0.8459, allocations: 4.858 MB / 0.94 GB, free: 4.07 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.8466, allocations: 416.7 kB / 0.9404 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.847, allocations: 267.8 kB / 0.9407 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/0.8472, allocations: 97.03 kB / 0.9408 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.8472, allocations: 55.38 kB / 0.9408 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 2.013e-06/0.8472, allocations: 0 / 0.9408 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.001868/0.8491, allocations: 0.7894 MB / 0.9416 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/0.8494, allocations: 405.8 kB / 0.942 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.851, allocations: 1.279 MB / 0.9432 GB, free: 452 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.851, allocations: 37.7 kB / 0.9433 GB, free: 408 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/0.8515, allocations: 0.5538 MB / 0.9438 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.8516, allocations: 107 kB / 0.9439 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8518, allocations: 85.59 kB / 0.944 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8519, allocations: 325.9 kB / 0.9443 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.8521, allocations: 91.92 kB / 0.9444 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.8526, allocations: 335.1 kB / 0.9447 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.8532, allocations: 328.6 kB / 0.945 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8532, allocations: 0 / 0.945 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008742/0.854, allocations: 0.494 MB / 0.9455 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8541, allocations: 4 kB / 0.9455 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8541, allocations: 4.344 kB / 0.9455 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.8544, allocations: 77.67 kB / 0.9456 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.8546, allocations: 59.91 kB / 0.9456 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.8573, allocations: 3.255 MB / 0.9488 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.858, allocations: 103.4 kB / 0.9489 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.858, allocations: 27.92 kB / 0.9489 GB, free: 10.13 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.0003587/0.8584, allocations: 273.6 kB / 0.9492 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.8588, allocations: 143.1 kB / 0.9493 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.859, allocations: 131.9 kB / 0.9495 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.859, allocations: 4 kB / 0.9495 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.859, allocations: 8 kB / 0.9495 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.859, allocations: 8 kB / 0.9495 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.8622, allocations: 2.513 MB / 0.9519 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.8622, allocations: 8.234 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.8624, allocations: 63.84 kB / 0.952 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.8626, allocations: 73.66 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.8626, allocations: 15.94 kB / 0.9521 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.8652, allocations: 3.258 MB / 0.9553 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.8652, allocations: 11.94 kB / 0.9553 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.8662, allocations: 0.6853 MB / 0.956 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.8665, allocations: 256.1 kB / 0.9562 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.8667, allocations: 12 kB / 0.9562 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.8673, allocations: 39.95 kB / 0.9562 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.8674, allocations: 51.77 kB / 0.9563 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.8675, allocations: 12 kB / 0.9563 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001144/0.8686, allocations: 0.8802 MB / 0.9572 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8686, allocations: 0 / 0.9572 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000928/0.8696, allocations: 255.8 kB / 0.9574 GB, free: 0.8984 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.001563/0.8711, allocations: 1.338 MB / 0.9587 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.8721, allocations: 0.5287 MB / 0.9592 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8721, allocations: 3.984 kB / 0.9592 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.8727, allocations: 406.2 kB / 0.9596 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.8761, allocations: 0.7427 MB / 0.9603 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.8875, allocations: 8.244 MB / 0.9684 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/0.8883, allocations: 1.131 MB / 0.9695 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008351/0.8892, allocations: 238.5 kB / 0.9697 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.8897, allocations: 454 kB / 0.9702 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.8897, allocations: 0 / 0.9702 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.9669, allocations: 34.21 MB / 1.004 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.14, allocations: 11.69 kB / 1.004 GB, free: 1.586 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)