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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7261/0.7261, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 68.11 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3223, allocations: 80.19 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5163/0.8387, allocations: 241.9 MB / 0.8164 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.8535, allocations: 13.53 MB / 0.8296 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.8553, allocations: 61.38 kB / 0.8297 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.8573, allocations: 0.9775 MB / 0.8306 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.8608, allocations: 1.783 MB / 0.8324 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.8636, allocations: 1.228 MB / 0.8336 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.867, allocations: 3.254 MB / 0.8367 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.8683, allocations: 1.059 MB / 0.8378 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/0.8759, allocations: 4.114 MB / 0.8418 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.8769, allocations: 0.8898 MB / 0.8427 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.8771, allocations: 79.06 kB / 0.8427 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.8783, allocations: 0.6962 MB / 0.8434 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.8787, allocations: 442.7 kB / 0.8438 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.8793, allocations: 0.6801 MB / 0.8445 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.8806, allocations: 1.514 MB / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8806, allocations: 2.219 kB / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8806, allocations: 1.062 kB / 0.846 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.8806, allocations: 0 / 0.846 GB, free: 1.52 MB / 0.6387 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.001786/0.8824, allocations: 1.623 MB / 0.8476 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.8824, allocations: 10.78 kB / 0.8476 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.8826, allocations: 126.1 kB / 0.8477 GB, free: 16.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005528/0.8831, allocations: 202 kB / 0.8479 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.8841, allocations: 0.8353 MB / 0.8487 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.8842, allocations: 124.5 kB / 0.8488 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.8843, allocations: 85.75 kB / 0.8489 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.8854, allocations: 0.919 MB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.8854, allocations: 1.312 kB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.8854, allocations: 34.41 kB / 0.8498 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.8855, allocations: 25.47 kB / 0.8499 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.8862, allocations: 0.5152 MB / 0.8504 GB, free: 15.79 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.0038/0.89, allocations: 4.89 MB / 0.8551 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.8905, allocations: 424.2 kB / 0.8555 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.8908, allocations: 259.7 kB / 0.8558 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.891, allocations: 105.3 kB / 0.8559 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.891, allocations: 54.64 kB / 0.8559 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.891, allocations: 0.6875 kB / 0.8559 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001539/0.8925, allocations: 0.7798 MB / 0.8567 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.8927, allocations: 402.1 kB / 0.8571 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.8939, allocations: 1.273 MB / 0.8583 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.8939, allocations: 36.08 kB / 0.8584 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.8943, allocations: 0.5474 MB / 0.8589 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.8944, allocations: 116 kB / 0.859 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8945, allocations: 81.03 kB / 0.8591 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8946, allocations: 322.1 kB / 0.8594 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.8948, allocations: 89.94 kB / 0.8595 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.8951, allocations: 339.5 kB / 0.8598 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.8955, allocations: 320.6 kB / 0.8601 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.8956, allocations: 3.938 kB / 0.8601 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007084/0.8963, allocations: 496.3 kB / 0.8606 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8963, allocations: 13 kB / 0.8606 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8963, allocations: 2.094 kB / 0.8606 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.8966, allocations: 79.94 kB / 0.8607 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.8968, allocations: 55.52 kB / 0.8607 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.8989, allocations: 3.262 MB / 0.8639 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/0.8996, allocations: 96.89 kB / 0.864 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.8996, allocations: 22.38 kB / 0.864 GB, free: 6.766 MB / 0.6544 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.0002904/0.8999, allocations: 279.6 kB / 0.8643 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.9003, allocations: 138.2 kB / 0.8644 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.9004, allocations: 125.6 kB / 0.8645 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.9004, allocations: 8.156 kB / 0.8646 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9005, allocations: 5.594 kB / 0.8646 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.9005, allocations: 8.109 kB / 0.8646 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.9031, allocations: 2.523 MB / 0.867 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.9031, allocations: 5.781 kB / 0.867 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.9033, allocations: 47.36 kB / 0.8671 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/0.9035, allocations: 72.67 kB / 0.8672 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.9035, allocations: 12 kB / 0.8672 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.9056, allocations: 3.263 MB / 0.8704 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.9056, allocations: 11.53 kB / 0.8704 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.9063, allocations: 0.6778 MB / 0.871 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.9066, allocations: 251.8 kB / 0.8713 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9067, allocations: 13.73 kB / 0.8713 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.9074, allocations: 41.11 kB / 0.8713 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.9075, allocations: 40.72 kB / 0.8714 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.9075, allocations: 20.45 kB / 0.8714 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008474/0.9083, allocations: 0.8791 MB / 0.8722 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9083, allocations: 2.469 kB / 0.8722 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008157/0.9092, allocations: 262 kB / 0.8725 GB, free: 1.359 MB / 0.6544 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.001223/0.9104, allocations: 1.319 MB / 0.8738 GB, free: 420 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.9112, allocations: 0.5237 MB / 0.8743 GB, free: 180 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9112, allocations: 192 / 0.8743 GB, free: 180 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.9116, allocations: 405.8 kB / 0.8747 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.9147, allocations: 0.7551 MB / 0.8754 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/0.9242, allocations: 9.014 MB / 0.8842 GB, free: 12.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.9247, allocations: 1.135 MB / 0.8853 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007228/0.9255, allocations: 238 kB / 0.8855 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.9258, allocations: 443.9 kB / 0.886 GB, free: 11.29 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.9258, allocations: 0 / 0.886 GB, free: 11.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05889/0.9847, allocations: 33.96 MB / 0.9191 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.446/10.43, allocations: 3.375 kB / 0.9191 GB, free: 6.02 MB / 0.6856 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)