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.009701/0.009701, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.001969/0.001969, allocations: 189.6 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.169/2.169, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.058/1.058, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 66.92 kB / 0.5809 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2477, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 1.118/1.366, allocations: 241.9 MB / 0.8954 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0387/1.405, allocations: 13.52 MB / 0.9086 GB, free: 6.641 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/1.41, allocations: 59.62 kB / 0.9087 GB, free: 6.582 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006011/1.416, allocations: 0.9938 MB / 0.9097 GB, free: 5.582 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/1.429, allocations: 1.777 MB / 0.9114 GB, free: 3.801 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008371/1.437, allocations: 1.238 MB / 0.9126 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.448, allocations: 3.255 MB / 0.9158 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004294/1.452, allocations: 1.063 MB / 0.9168 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02206/1.475, allocations: 4.121 MB / 0.9209 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/1.478, allocations: 0.8905 MB / 0.9217 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007431/1.479, allocations: 76 kB / 0.9218 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004166/1.483, allocations: 0.6975 MB / 0.9225 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001418/1.485, allocations: 454.5 kB / 0.9229 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00275/1.487, allocations: 0.68 MB / 0.9236 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0062/1.494, allocations: 1.548 MB / 0.9251 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/1.494, allocations: 8 kB / 0.9251 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.154e-06/1.494, allocations: 0 / 0.9251 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.336e-05/1.494, allocations: 0 / 0.9251 GB, free: 5.73 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.005194/1.499, allocations: 1.665 MB / 0.9267 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.422e-05/1.499, allocations: 12.03 kB / 0.9267 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003978/1.499, allocations: 126.7 kB / 0.9269 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/1.501, allocations: 206.9 kB / 0.9271 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/1.505, allocations: 0.9101 MB / 0.9279 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.505, allocations: 125.4 kB / 0.9281 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/1.505, allocations: 84 kB / 0.9281 GB, free: 2.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/1.508, allocations: 0.922 MB / 0.929 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/1.508, allocations: 0 / 0.929 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/1.508, allocations: 36.86 kB / 0.9291 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/1.508, allocations: 27.94 kB / 0.9291 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/1.51, allocations: 0.5043 MB / 0.9296 GB, free: 0.9023 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.008494/1.519, allocations: 4.866 MB / 0.9343 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/1.519, allocations: 420.6 kB / 0.9347 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/1.52, allocations: 263.8 kB / 0.935 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/1.52, allocations: 101.1 kB / 0.9351 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/1.52, allocations: 58.48 kB / 0.9352 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=31): time 5.67e-06/1.52, allocations: 0 / 0.9352 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31): time 0.002745/1.523, allocations: 0.7787 MB / 0.9359 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003282/1.524, allocations: 397.5 kB / 0.9363 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.527, allocations: 1.279 MB / 0.9375 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.527, allocations: 37.64 kB / 0.9376 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008056/1.528, allocations: 0.5656 MB / 0.9381 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.528, allocations: 111.1 kB / 0.9382 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/1.528, allocations: 81.64 kB / 0.9383 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.528, allocations: 325.9 kB / 0.9386 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/1.528, allocations: 87.94 kB / 0.9387 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/1.529, allocations: 343.1 kB / 0.939 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/1.53, allocations: 332.5 kB / 0.9394 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.53, allocations: 4 kB / 0.9394 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001518/1.532, allocations: 498.2 kB / 0.9398 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.532, allocations: 8 kB / 0.9398 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/1.532, allocations: 4 kB / 0.9398 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/1.532, allocations: 69.67 kB / 0.9399 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/1.532, allocations: 59.91 kB / 0.94 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/1.537, allocations: 3.263 MB / 0.9432 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.539, allocations: 96.92 kB / 0.9432 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.539, allocations: 20 kB / 0.9433 GB, free: 1.781 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.00119/1.54, allocations: 269.7 kB / 0.9435 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.541, allocations: 147.2 kB / 0.9437 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/1.542, allocations: 127.9 kB / 0.9438 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.542, allocations: 11.94 kB / 0.9438 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/1.542, allocations: 8 kB / 0.9438 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/1.542, allocations: 4 kB / 0.9438 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/1.549, allocations: 2.528 MB / 0.9463 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/1.549, allocations: 4 kB / 0.9463 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/1.549, allocations: 47.91 kB / 0.9463 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003663/1.549, allocations: 74.17 kB / 0.9464 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/1.55, allocations: 19.94 kB / 0.9464 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/1.554, allocations: 3.262 MB / 0.9496 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/1.554, allocations: 4 kB / 0.9496 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.556, allocations: 0.6926 MB / 0.9503 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009515/1.557, allocations: 256.1 kB / 0.9505 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/1.557, allocations: 19.92 kB / 0.9505 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.559, allocations: 43.95 kB / 0.9506 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.559, allocations: 35.84 kB / 0.9506 GB, free: 9.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/1.559, allocations: 23.98 kB / 0.9506 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002588/1.561, allocations: 0.8763 MB / 0.9515 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/1.561, allocations: 4 kB / 0.9515 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00196/1.563, allocations: 259.8 kB / 0.9517 GB, free: 8.535 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.002875/1.566, allocations: 1.334 MB / 0.9531 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001556/1.568, allocations: 0.5208 MB / 0.9536 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.568, allocations: 0 / 0.9536 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008627/1.569, allocations: 406.8 kB / 0.9539 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/1.574, allocations: 0.7465 MB / 0.9547 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.596, allocations: 8.235 MB / 0.9627 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.597, allocations: 1.142 MB / 0.9638 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001512/1.599, allocations: 242.5 kB / 0.9641 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.6, allocations: 443.3 kB / 0.9645 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of SimCode: time 1.854e-06/1.6, allocations: 0 / 0.9645 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/1.722, allocations: 34.21 MB / 0.9979 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.19/20.91, allocations: 2.938 kB / 0.9979 GB, free: 9.242 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 & 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)