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.007606/0.007606, allocations: 98.23 kB / 15.73 MB, free: 6.004 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.001707/0.001707, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7279/0.7279, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.12 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1624, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6149/0.7774, allocations: 241.9 MB / 0.8954 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.7928, allocations: 13.54 MB / 0.9087 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.7954, allocations: 57.72 kB / 0.9087 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.7982, allocations: 1.014 MB / 0.9097 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.803, allocations: 1.859 MB / 0.9115 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.8061, allocations: 1.248 MB / 0.9127 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004173/0.8102, allocations: 3.264 MB / 0.9159 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.8117, allocations: 1.066 MB / 0.917 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00971/0.8214, allocations: 4.242 MB / 0.9211 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.8231, allocations: 0.9018 MB / 0.922 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.8234, allocations: 77.5 kB / 0.9221 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.8252, allocations: 0.7053 MB / 0.9227 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.8257, allocations: 441 kB / 0.9232 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.8266, allocations: 0.6815 MB / 0.9238 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.8288, allocations: 1.548 MB / 0.9253 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8288, allocations: 0 / 0.9253 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8288, allocations: 1.906 kB / 0.9253 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.8288, allocations: 0 / 0.9253 GB, free: 9.168 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.002237/0.8311, allocations: 1.674 MB / 0.927 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.8311, allocations: 9.844 kB / 0.927 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.8313, allocations: 121.1 kB / 0.9271 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006875/0.832, allocations: 216.7 kB / 0.9273 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.8335, allocations: 0.9104 MB / 0.9282 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.8336, allocations: 121.2 kB / 0.9283 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.8337, allocations: 87.97 kB / 0.9284 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.835, allocations: 0.9224 MB / 0.9293 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.835, allocations: 9.422 kB / 0.9293 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.8351, allocations: 35.94 kB / 0.9293 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.8351, allocations: 20.31 kB / 0.9294 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.8359, allocations: 0.5066 MB / 0.9299 GB, free: 6.012 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.00416/0.8401, allocations: 4.858 MB / 0.9346 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.8406, allocations: 422.6 kB / 0.935 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.8409, allocations: 270.4 kB / 0.9353 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.8411, allocations: 99.62 kB / 0.9354 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.8412, allocations: 55.62 kB / 0.9354 GB, free: 4 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.8412, allocations: 0 / 0.9354 GB, free: 4 kB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001662/0.8429, allocations: 0.7848 MB / 0.9362 GB, free: 15.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.843, allocations: 408.3 kB / 0.9366 GB, free: 14.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.8443, allocations: 1.271 MB / 0.9378 GB, free: 13.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.8444, allocations: 37.92 kB / 0.9378 GB, free: 13.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.8448, allocations: 0.5571 MB / 0.9384 GB, free: 12.83 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.8449, allocations: 109 kB / 0.9385 GB, free: 12.72 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.845, allocations: 81.66 kB / 0.9386 GB, free: 12.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8451, allocations: 322 kB / 0.9389 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.8453, allocations: 94.55 kB / 0.939 GB, free: 12.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.8457, allocations: 337.5 kB / 0.9393 GB, free: 11.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.8462, allocations: 329.5 kB / 0.9396 GB, free: 11.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8462, allocations: 0 / 0.9396 GB, free: 11.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007751/0.8469, allocations: 0.4919 MB / 0.9401 GB, free: 10.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.847, allocations: 8 kB / 0.9401 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.847, allocations: 7.984 kB / 0.9401 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.8473, allocations: 74.02 kB / 0.9402 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.8475, allocations: 57.06 kB / 0.9402 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.8499, allocations: 3.256 MB / 0.9434 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.8507, allocations: 100.1 kB / 0.9435 GB, free: 7.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.8507, allocations: 27.98 kB / 0.9435 GB, free: 7.184 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.0003952/0.8511, allocations: 275 kB / 0.9438 GB, free: 6.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.8515, allocations: 147 kB / 0.9439 GB, free: 6.766 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.8517, allocations: 128 kB / 0.9441 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.8517, allocations: 8 kB / 0.9441 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.8517, allocations: 4 kB / 0.9441 GB, free: 6.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.8517, allocations: 7.984 kB / 0.9441 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.8545, allocations: 2.523 MB / 0.9465 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.8546, allocations: 4.688 kB / 0.9465 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.8547, allocations: 49.14 kB / 0.9466 GB, free: 3.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.8549, allocations: 73.66 kB / 0.9467 GB, free: 3.875 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.8549, allocations: 15.98 kB / 0.9467 GB, free: 3.859 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.857, allocations: 3.258 MB / 0.9499 GB, free: 352 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.857, allocations: 6.531 kB / 0.9499 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.8578, allocations: 0.6797 MB / 0.9505 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.8582, allocations: 264.1 kB / 0.9508 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.8584, allocations: 15.94 kB / 0.9508 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.859, allocations: 47.88 kB / 0.9508 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.8591, allocations: 45.06 kB / 0.9509 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.8591, allocations: 12 kB / 0.9509 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009866/0.8601, allocations: 0.8802 MB / 0.9517 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8601, allocations: 0 / 0.9517 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009445/0.8611, allocations: 259.8 kB / 0.952 GB, free: 14.05 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.001381/0.8625, allocations: 1.331 MB / 0.9533 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009042/0.8634, allocations: 0.5249 MB / 0.9538 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8634, allocations: 0 / 0.9538 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.8639, allocations: 406 kB / 0.9542 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.8669, allocations: 0.7414 MB / 0.9549 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009371/0.8763, allocations: 8.251 MB / 0.963 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.877, allocations: 1.131 MB / 0.9641 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008025/0.8778, allocations: 246.5 kB / 0.9643 GB, free: 1.066 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.8782, allocations: 435.3 kB / 0.9647 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of SimCode: time 9.82e-07/0.8782, allocations: 4 kB / 0.9647 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.9446, allocations: 34.2 MB / 0.9981 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.13, allocations: 13.47 kB / 0.9982 GB, free: 15.07 MB / 0.7325 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)