Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.005122/0.005121, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001305/0.001305, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.372/1.372, 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 0.973/0.973, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3968, allocations: 81.02 MB / 0.6649 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002653/0.3995, allocations: 2.025 MB / 0.6668 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.4019, allocations: 2.005 MB / 0.6688 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.4021, allocations: 8.062 kB / 0.6688 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.4028, allocations: 265 kB / 0.6691 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006127/0.4034, allocations: 290.8 kB / 0.6693 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.4042, allocations: 494.8 kB / 0.6698 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.4047, allocations: 459.5 kB / 0.6702 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.4048, allocations: 41.31 kB / 0.6703 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.405, allocations: 164.6 kB / 0.6704 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.4052, allocations: 169.6 kB / 0.6706 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.4053, allocations: 14 kB / 0.6706 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.4059, allocations: 445.2 kB / 0.671 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.406, allocations: 95.67 kB / 0.6711 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.4061, allocations: 122.9 kB / 0.6713 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.4068, allocations: 0.5863 MB / 0.6718 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4068, allocations: 4 kB / 0.6718 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4068, allocations: 0 / 0.6718 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4068, allocations: 1.125 kB / 0.6718 GB, free: 1.734 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007931/0.4076, allocations: 0.6077 MB / 0.6724 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4077, allocations: 13.84 kB / 0.6724 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.4077, allocations: 37.34 kB / 0.6725 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.408, allocations: 52.88 kB / 0.6725 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.4085, allocations: 330.8 kB / 0.6728 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4085, allocations: 15.59 kB / 0.6729 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.4085, allocations: 10.62 kB / 0.6729 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.4088, allocations: 150.6 kB / 0.673 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4089, allocations: 4 kB / 0.673 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4089, allocations: 1.188 kB / 0.673 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4089, allocations: 2.188 kB / 0.673 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.4092, allocations: 129.3 kB / 0.6731 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.4099, allocations: 0.4982 MB / 0.6736 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.4102, allocations: 126.2 kB / 0.6737 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.4104, allocations: 64.47 kB / 0.6738 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4104, allocations: 1.125 kB / 0.6738 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.4104, allocations: 39.91 kB / 0.6738 GB, free: 16 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.4104, allocations: 0 / 0.6738 GB, free: 16 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007662/0.4112, allocations: 234.3 kB / 0.6741 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4113, allocations: 61.5 kB / 0.6741 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.4116, allocations: 343.7 kB / 0.6745 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.4117, allocations: 29.7 kB / 0.6745 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.4118, allocations: 153.3 kB / 0.6746 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.4118, allocations: 27.28 kB / 0.6747 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.4119, allocations: 51.09 kB / 0.6747 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4121, allocations: 337.4 kB / 0.675 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4124, allocations: 121.8 kB / 0.6751 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.4127, allocations: 162.7 kB / 0.6753 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.4132, allocations: 275.2 kB / 0.6756 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4132, allocations: 1.125 kB / 0.6756 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006785/0.4139, allocations: 337.2 kB / 0.6759 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.414, allocations: 9.5 kB / 0.6759 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.414, allocations: 7.281 kB / 0.6759 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.414, allocations: 2.469 kB / 0.6759 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.4142, allocations: 44.97 kB / 0.6759 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4142, allocations: 6.781 kB / 0.676 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.4144, allocations: 30.52 kB / 0.676 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.4145, allocations: 14.97 kB / 0.676 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003243/0.4148, allocations: 210.2 kB / 0.6762 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002833/0.4151, allocations: 141 kB / 0.6763 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004738/0.4156, allocations: 244.3 kB / 0.6766 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.4156, allocations: 1.062 kB / 0.6766 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005877/0.4162, allocations: 285 kB / 0.6768 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.4162, allocations: 9.531 kB / 0.6768 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4162, allocations: 7 kB / 0.6769 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.962e-06/0.4162, allocations: 6.844 kB / 0.6769 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4164, allocations: 42.72 kB / 0.6769 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4165, allocations: 3.219 kB / 0.6769 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4166, allocations: 19.62 kB / 0.6769 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4166, allocations: 13.66 kB / 0.6769 GB, free: 13.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.4168, allocations: 196.2 kB / 0.6771 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4169, allocations: 27.56 kB / 0.6771 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.4174, allocations: 200.6 kB / 0.6773 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4174, allocations: 2.219 kB / 0.6773 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4174, allocations: 4 kB / 0.6773 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4174, allocations: 0 / 0.6773 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.4178, allocations: 280 kB / 0.6776 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4178, allocations: 1.25 kB / 0.6776 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.4179, allocations: 22.27 kB / 0.6776 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4179, allocations: 5.094 kB / 0.6776 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.4179, allocations: 5.062 kB / 0.6776 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.418, allocations: 5.109 kB / 0.6776 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.418, allocations: 0 / 0.6776 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.4184, allocations: 286.8 kB / 0.6779 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4186, allocations: 114 kB / 0.678 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4186, allocations: 17.06 kB / 0.678 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.4188, allocations: 8.453 kB / 0.6781 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.4188, allocations: 8.438 kB / 0.6781 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4188, allocations: 7.266 kB / 0.6781 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002714/0.4191, allocations: 240.6 kB / 0.6783 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4191, allocations: 0 / 0.6783 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005947/0.4197, allocations: 144.7 kB / 0.6784 GB, free: 12.71 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.4209, allocations: 0.9091 MB / 0.6793 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008268/0.4217, allocations: 326.7 kB / 0.6796 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4218, allocations: 0.875 kB / 0.6796 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.422, allocations: 75.83 kB / 0.6797 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.4225, allocations: 95.12 kB / 0.6798 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.4267, allocations: 3.035 MB / 0.6828 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.4272, allocations: 0.7697 MB / 0.6835 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000283/0.4275, allocations: 80.52 kB / 0.6836 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4276, allocations: 89.62 kB / 0.6837 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.4276, allocations: 0 / 0.6837 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.4601, allocations: 9.306 MB / 0.6928 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.873, allocations: 11.98 kB / 0.6928 GB, free: 3.906 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)